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