mirror of
https://github.com/inspec/inspec
synced 2024-11-26 06:30:26 +00:00
Fixed Inspec::Dist on habitat CLI.
Signed-off-by: Ryan Davis <zenspider@chef.io>
This commit is contained in:
parent
ddd6f354ee
commit
fcb65b2ffb
1 changed files with 2 additions and 2 deletions
|
@ -4,8 +4,6 @@ require 'inspec/dist'
|
|||
module InspecPlugins
|
||||
module Habitat
|
||||
class ProfileCLI < Inspec.plugin(2, :cli_command)
|
||||
include Inspec::Dist
|
||||
|
||||
# Override banner method to correct missing subcommand.
|
||||
# @see https://github.com/erikhuda/thor/issues/261
|
||||
def self.banner(command, _namespace = nil, _subcommand = false)
|
||||
|
@ -31,6 +29,8 @@ module InspecPlugins
|
|||
end
|
||||
|
||||
class CLI < Inspec.plugin(2, :cli_command)
|
||||
include Inspec::Dist
|
||||
|
||||
subcommand_desc 'habitat SUBCOMMAND', "Manage Habitat with #{PRODUCT_NAME}"
|
||||
namespace 'habitat'
|
||||
|
||||
|
|
Loading…
Reference in a new issue