forked from kiss-community/kiss
kiss: Added search.
This commit is contained in:
parent
bd79daab8b
commit
4344a2d017
9
kiss
9
kiss
@ -889,6 +889,12 @@ args() {
|
|||||||
pkg_updates
|
pkg_updates
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
# Search packages
|
||||||
|
s*)
|
||||||
|
[ "$2" ] || die "'kiss search' requires an argument."
|
||||||
|
pkg_search "$2"
|
||||||
|
;;
|
||||||
|
|
||||||
# Print version and exit.
|
# Print version and exit.
|
||||||
v*)
|
v*)
|
||||||
log "$kiss 0.2.6"
|
log "$kiss 0.2.6"
|
||||||
@ -897,12 +903,13 @@ args() {
|
|||||||
# Catch all invalid arguments as well as
|
# Catch all invalid arguments as well as
|
||||||
# any help related flags (-h, --help, help).
|
# 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." \
|
"build: Build a package." \
|
||||||
"checksum: Generate checksums." \
|
"checksum: Generate checksums." \
|
||||||
"install: Install a package (Runs build if needed)." \
|
"install: Install a package (Runs build if needed)." \
|
||||||
"list: List packages." \
|
"list: List packages." \
|
||||||
"remove: Remove a package." \
|
"remove: Remove a package." \
|
||||||
|
"search: Search for a package." \
|
||||||
"update: Check for updates."
|
"update: Check for updates."
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user