Class: Elasticsnap::Cli::Application
- Defined in:
- lib/elasticsnap/cli/application.rb
Instance Method Summary collapse
Methods inherited from Base
Instance Method Details
#snapshot ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/elasticsnap/cli/application.rb', line 15 def snapshot Snapshot.new( security_group: [:security_group], url: [:url], mount: [:mount], quorum_nodes: [:quorum_nodes], wait_timeout: [:wait_timeout], cluster_name: [:cluster_name], ssh_user: [:ssh_user] ).call end |
#version ⇒ Object
28 29 30 |
# File 'lib/elasticsnap/cli/application.rb', line 28 def version say("Elasticsnap: #{Elasticsnap::VERSION}", :yellow) end |