Class: Habitat::HabitatProfileCLI

Inherits:
Thor
  • Object
show all
Defined in:
lib/bundles/inspec-habitat/cli.rb

Instance Method Summary collapse

Instance Method Details

#create(path) ⇒ Object



14
15
16
# File 'lib/bundles/inspec-habitat/cli.rb', line 14

def create(path)
  Habitat::Profile.create(path, options)
end

#setup(path) ⇒ Object



19
20
21
# File 'lib/bundles/inspec-habitat/cli.rb', line 19

def setup(path)
  Habitat::Profile.setup(path)
end

#upload(path) ⇒ Object



24
25
26
# File 'lib/bundles/inspec-habitat/cli.rb', line 24

def upload(path)
  Habitat::Profile.upload(path, options)
end