Class: Init::CLI

Inherits:
Inspec::BaseCLI show all
Defined in:
lib/bundles/inspec-init/cli.rb

Class Method Summary collapse

Methods inherited from Inspec::BaseCLI

exec_options, profile_options, target_options

Class Method Details

TODO: find another solution, once github.com/erikhuda/thor/issues/261 is fixed



11
12
13
# File 'lib/bundles/inspec-init/cli.rb', line 11

def self.banner(command, _namespace = nil, _subcommand = false)
  "#{basename} #{subcommand_prefix} #{command.usage}"
end

.subcommand_prefixObject



15
16
17
# File 'lib/bundles/inspec-init/cli.rb', line 15

def self.subcommand_prefix
  namespace
end