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



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

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

#upload(path) ⇒ Object



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

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