lib/cli/runner.rb in af-0.3.18.11 vs lib/cli/runner.rb in af-0.3.18.12
- old
+ new
@@ -353,9 +353,13 @@
when 'env-del'
usage('af env-del <appname> <variable>')
set_cmd(:apps, :environment_del, 2)
+ when 'rename'
+ usage('af rename <curname> <newname>')
+ set_cmd(:apps, :rename, 2)
+
when 'create-service', 'create_service'
usage('af create-service [service] [servicename] [appname] [--name servicename] [--bind appname] [--infra infraname]')
set_cmd(:services, :create_service) if @args.size == 0
set_cmd(:services, :create_service, 1) if @args.size == 1
set_cmd(:services, :create_service, 2) if @args.size == 2