lib/command/run_detached.rb in cpl-1.0.4 vs lib/command/run_detached.rb in cpl-1.1.0
- old
+ new
@@ -24,11 +24,11 @@
cpl run:detached rails db:prepare -a $APP_NAME
# Need to quote COMMAND if setting ENV value or passing args.
cpl run:detached 'LOG_LEVEL=warn rails db:migrate' -a $APP_NAME
- # COMMAND may also be passed at the end (in this case, no need to quote).
- cpl run:detached -a $APP_NAME -- rails db:migrate
+ # COMMAND may also be passed at the end.
+ cpl run:detached -a $APP_NAME -- 'LOG_LEVEL=warn rails db:migrate'
# Uses a different image (which may not be promoted yet).
cpl run:detached rails db:migrate -a $APP_NAME --image appimage:123 # Exact image name
cpl run:detached rails db:migrate -a $APP_NAME --image latest # Latest sequential image