Class: Cloudspin::Artefact::CLI
- Inherits:
-
Thor
- Object
- Thor
- Cloudspin::Artefact::CLI
- Defined in:
- lib/cloudspin/stack/artefact/cli.rb
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.exit_on_failure? ⇒ Boolean
64 65 66 |
# File 'lib/cloudspin/stack/artefact/cli.rb', line 64 def self.exit_on_failure? true end |
Instance Method Details
#build ⇒ Object
26 27 28 29 |
# File 'lib/cloudspin/stack/artefact/cli.rb', line 26 def build add_folder([:inspec_folder]) builder.build end |
#get ⇒ Object
42 43 44 |
# File 'lib/cloudspin/stack/artefact/cli.rb', line 42 def get put 'get' end |
#package ⇒ Object
32 33 34 |
# File 'lib/cloudspin/stack/artefact/cli.rb', line 32 def package builder.package end |
#publish ⇒ Object
37 38 39 |
# File 'lib/cloudspin/stack/artefact/cli.rb', line 37 def publish puts 'publish' end |