Class: Cloudspin::Artefact::CLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/cloudspin/stack/artefact/cli.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.exit_on_failure?Boolean

Returns:

  • (Boolean)


64
65
66
# File 'lib/cloudspin/stack/artefact/cli.rb', line 64

def self.exit_on_failure?
  true
end

Instance Method Details

#buildObject



26
27
28
29
# File 'lib/cloudspin/stack/artefact/cli.rb', line 26

def build
  add_folder(options[:inspec_folder])
  builder.build
end

#getObject



42
43
44
# File 'lib/cloudspin/stack/artefact/cli.rb', line 42

def get
  put 'get'
end

#packageObject



32
33
34
# File 'lib/cloudspin/stack/artefact/cli.rb', line 32

def package
  builder.package
end

#publishObject



37
38
39
# File 'lib/cloudspin/stack/artefact/cli.rb', line 37

def publish
  puts 'publish'
end