1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

list commands

This commit is contained in:
Kyle Spearrin
2019-10-24 20:04:09 -04:00
parent 32ee02c3ad
commit f6d610e4e4
2 changed files with 37 additions and 7 deletions

View File

@ -73,17 +73,22 @@ function checkOutputDirNotExists() {
fi
}
function commandList() {
function listCommands() {
cat << EOT
Available commands:
install
update
rebuild
updateconf
updatedb
start
restart
stop
update
updatedb
updateself
updateconf
rebuild
help
See more at https://help.bitwarden.com/article/install-on-premise/#script-commands
EOT
}
@ -126,9 +131,9 @@ then
downloadSelf && echo "Updated self." && exit
elif [ "$1" == "help" ]
then
commandList
listCommands
else
echo "No command found."
echo
commandList
listCommands
fi