lib/dokku_installer/config.rb in dokku-installer-cli-0.1.3 vs lib/dokku_installer/config.rb in dokku-installer-cli-0.1.4
- old
+ new
@@ -5,11 +5,11 @@
def config
run_command "config #{app_name}"
end
desc "config:get KEY", "Display an environment variable value"
- def config_get(*args)
- run_command "config:get #{app_name} #{args.first}"
+ def config_get(key)
+ run_command "config:get #{app_name} #{key}"
end
desc "config:set KEY1=VALUE1 [KEY2=VALUE2 ...]", "Set one or more environment variables"
def config_set(*args)
# FIXME: Requires root to send config values with spaces