This commit is contained in:
斟酌 鵬兄 2022-08-15 21:21:53 +08:00
parent 3c63b5d2d6
commit 3aefa2bb5c
2 changed files with 6 additions and 4 deletions

View File

@ -16,9 +16,9 @@ RBASH_REPO="penguin/utils"
RBASH_PATH="bash" RBASH_PATH="bash"
RBASH_MERGED="$RBASH_SOURCES/merged" RBASH_MERGED="$RBASH_SOURCES/merged"
RHOSTNAME="<HOSTNAME>" RHOSTNAME="Penguins-Mac-Studio"
RDOMAIN="<DOMAIN>" RDOMAIN="@local"
RCOLOR="<RCOLOR>" RCOLOR="4"
if [ $RHOSTNAME == "<HOSTNAME"">" ]; then if [ $RHOSTNAME == "<HOSTNAME"">" ]; then
RHOSTNAME=$( hostname -s ) RHOSTNAME=$( hostname -s )
@ -309,5 +309,5 @@ ___DEFAULT___
chmod 600 "$RBASH_CONFIG" chmod 600 "$RBASH_CONFIG"
fi fi
ource "$RBASH_CONFIG" source "$RBASH_CONFIG"
unset _RBASH_MERGE_START unset _RBASH_MERGE_START

View File

@ -30,6 +30,7 @@ function kstore {
update) shift; kstore-update "$@" ;; update) shift; kstore-update "$@" ;;
search) shift; kstore-search $@ ;; search) shift; kstore-search $@ ;;
secret) shift; kstore-secret $@ ;; secret) shift; kstore-secret $@ ;;
upload) shift; kstore-upload $@ ;;
*) *)
__func_head "add [key] [value|file|-] [prop, default: $_KSTORE_DEF_PROP]" __func_head "add [key] [value|file|-] [prop, default: $_KSTORE_DEF_PROP]"
__func_help "update [key] [value|file|-] [prop, default: $_KSTORE_DEF_PROP]" __func_help "update [key] [value|file|-] [prop, default: $_KSTORE_DEF_PROP]"
@ -38,6 +39,7 @@ function kstore {
__func_help "list" __func_help "list"
__func_help "search [key] [prop]" __func_help "search [key] [prop]"
__func_help "secret ..." __func_help "secret ..."
__func_help "upload s3-compatible-provider-name"
__func_help "query SQL" __func_help "query SQL"
return 1 return 1
;; ;;