lib/command/run.rb in cpl-1.0.4 vs lib/command/run.rb in cpl-1.1.0
- old
+ new
@@ -29,11 +29,11 @@
cpl run -a $APP_NAME
# Need to quote COMMAND if setting ENV value or passing args.
cpl run '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 -a $APP_NAME -- rails db:migrate
+ # COMMAND may also be passed at the end.
+ cpl run -a $APP_NAME -- 'LOG_LEVEL=warn rails db:migrate'
# Runs command, displays output, and exits shell.
cpl run ls / -a $APP_NAME
cpl run rails db:migrate:status -a $APP_NAME