Class: CloudstackCli::Base
- Inherits:
-
Thor
- Object
- Thor
- CloudstackCli::Base
- Includes:
- Helper, Thor::Actions
- Defined in:
- lib/cloudstack-cli/base.rb
Direct Known Subclasses
Account, AffinityGroup, Capacity, Cli, Cluster, ComputeOffer, DiskOffer, Domain, Environment, Host, IpAddress, Iso, Job, LoadBalancer, Network, PhysicalNetwork, Pod, PortRule, Project, Region, Router, Server, Snapshot, SshKeyPair, Stack, StoragePool, Template, User, Volume, Zone
Constant Summary
Constants included from Helper
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Class Method Summary collapse
-
.exit_on_failure? ⇒ Boolean
exit with return code 1 in case of a error.
Methods included from Helper
#ask_number, #bootstrap_server, #bootstrap_server_interactive, #create_port_rules, #create_server, #print_job_status, #print_options, #update_job_status, #watch_jobs
Instance Attribute Details
#config ⇒ Object (readonly)
Returns the value of attribute config.
9 10 11 |
# File 'lib/cloudstack-cli/base.rb', line 9 def config @config end |
Class Method Details
.exit_on_failure? ⇒ Boolean
exit with return code 1 in case of a error
18 19 20 |
# File 'lib/cloudstack-cli/base.rb', line 18 def self.exit_on_failure? true end |