refactor: restyle help message
This commit is contained in:
parent
0cee0a097a
commit
96a9ecac4e
12
bin/app
12
bin/app
@ -78,12 +78,12 @@ _start() {
|
||||
START_match=start
|
||||
|
||||
_help() {
|
||||
echo -e "Usage: $0 [help, -h | venv | init | start | freeze]\n"
|
||||
echo " help, -h: Show this help message"
|
||||
echo " venv \${python_version}: Create virtual environment with \${python_version}"
|
||||
echo " init \${python_version}: Initialize virtual environment with \${python_version} and install dependencies"
|
||||
echo " start \${env(dev|prod):-dev} \${port:-8001} \${host:-0.0.0.0}: Start the application"
|
||||
echo " freeze: Freeze dependencies"
|
||||
echo -e "Usage: $0 [help, -h | venv | init | start | freeze]"
|
||||
echo -e "help, -h:\n\tShow this help message"
|
||||
echo -e "venv \${python_version}:\n\tCreate virtual environment with \${python_version}"
|
||||
echo -e "init [--skip-install] \${python_version}:\n\tInitialize virtual environment with \${python_version} and install dependencies"
|
||||
echo -e "start \${env(dev|prod):-dev} \${port:-8001}\n\t\${host:-0.0.0.0}: Start the application"
|
||||
echo -e "freeze:\n\tFreeze dependencies"
|
||||
}
|
||||
|
||||
_check_cmds() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user