Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
kiss: Added search.
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanaraps committed Jul 13, 2019
1 parent bd79daa commit 4344a2d
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion kiss
Original file line number Diff line number Diff line change
Expand Up @@ -889,6 +889,12 @@ args() {
pkg_updates
;;

# Search packages
s*)
[ "$2" ] || die "'kiss search' requires an argument."
pkg_search "$2"
;;

# Print version and exit.
v*)
log "$kiss 0.2.6"
Expand All @@ -897,12 +903,13 @@ args() {
# Catch all invalid arguments as well as
# any help related flags (-h, --help, help).
*)
log "$kiss [b|c|i|l|r|u] [pkg]" \
log "$kiss [b|c|i|l|r|s|u] [pkg]" \
"build: Build a package." \
"checksum: Generate checksums." \
"install: Install a package (Runs build if needed)." \
"list: List packages." \
"remove: Remove a package." \
"search: Search for a package." \
"update: Check for updates."
;;
esac
Expand Down

0 comments on commit 4344a2d

Please sign in to comment.