mirror of
https://github.com/inspec/inspec
synced 2024-11-26 22:50:36 +00:00
0342cca62e
Two new commands have been created: * inspec habitat profile create /path/to/profile * inspec habitat profile upload /path/to/profile The `create` command creates a Habitat artifact that contains the contents of the Habitat profile found at the provided path. This will be used later in some Habitat + InSpec integrations. The `upload` command does the same create process but then uploads the resulting artifact to the Habitat Depot. Signed-off-by: Adam Leff <adam@leff.co>
12 lines
271 B
Ruby
12 lines
271 B
Ruby
# encoding: utf-8
|
|
# author: Adam Leff
|
|
|
|
libdir = File.dirname(__FILE__)
|
|
$LOAD_PATH.unshift(libdir) unless $LOAD_PATH.include?(libdir)
|
|
|
|
module Habitat
|
|
autoload :Log, 'inspec-habitat/log'
|
|
autoload :Profile, 'inspec-habitat/profile'
|
|
end
|
|
|
|
require 'inspec-habitat/cli'
|