lib/cloudstack-cli/cli.rb in cloudstack-cli-1.5.13 vs lib/cloudstack-cli/cli.rb in cloudstack-cli-1.6.0
- old
+ new
@@ -3,12 +3,12 @@
include Thor::Actions
package_name "cloudstack-cli"
class_option :config_file,
- default: File.join(Dir.home, '.cloudstack-cli.yml'),
+ default: CloudstackClient::Configuration.locate_config_file,
aliases: '-c',
- desc: 'Location of your cloudstack-cli configuration file'
+ desc: 'Location of your cloudstack configuration file'
class_option :env,
aliases: '-e',
desc: 'Environment to use'