File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -107,7 +107,7 @@ link_project_packages() {
107107}
108108
109109# Main execution function
110- wizard () {
110+ setup () {
111111 local app_name=$1
112112 local db_type=$2
113113
@@ -144,15 +144,16 @@ show_help() {
144144 echo " link Link all packages and link them to a project"
145145 echo " Usage: ./dev-env.sh link [app_name]"
146146 echo " "
147- echo " wizard Run all steps (install, build, link, create project)"
148- echo " Usage: ./dev-env.sh wizard [app_name] [db_type]"
147+ echo " setup Run all steps (install, build, link, create project)"
148+ echo " Usage: ./dev-env.sh setup [app_name] [db_type]"
149+ echo " If arguments are omitted, will ask interactively"
149150 echo " "
150151 echo " Options:"
151152 echo " -h, --help Show this help message"
152153 echo " "
153154 echo " Examples:"
154155 echo " ./dev-env.sh create my-app postgres"
155- echo " ./dev-env.sh wizard my-app"
156+ echo " ./dev-env.sh setup my-app"
156157 echo " ./dev-env.sh link my-app"
157158}
158159
@@ -181,8 +182,8 @@ case "$command" in
181182 " create" )
182183 create_project " $1 " " $2 "
183184 ;;
184- " wizard " )
185- wizard " $1 " " $2 "
185+ " setup " )
186+ setup " $1 " " $2 "
186187 ;;
187188 " -h" |" --help" |" help" )
188189 show_help
You can’t perform that action at this time.
0 commit comments