lib/cloudstack-cli/cli.rb in cloudstack-cli-0.3.7 vs lib/cloudstack-cli/cli.rb in cloudstack-cli-0.3.8
- old
+ new
@@ -12,10 +12,14 @@
class_option :environment,
aliases: '-e',
desc: 'environment to load from the configuration file'
+ class_option :debug,
+ desc: 'enable debug output',
+ type: :boolean
+
desc "version", "outputs the cloudstack-cli version"
def version
say "cloudstack-cli v#{CloudstackCli::VERSION}"
end
@@ -75,9 +79,12 @@
desc "pod SUBCOMMAND ...ARGS", "List pods"
subcommand "pod", Pod
desc "cluster SUBCOMMAND ...ARGS", "List clusters"
subcommand "cluster", Cluster
+
+ desc "host SUBCOMMAND ...ARGS", "List hosts"
+ subcommand "host", Host
desc "project SUBCOMMAND ...ARGS", "Manage servers"
subcommand "project", Project
desc "server SUBCOMMAND ...ARGS", "Manage servers"
\ No newline at end of file