Class: Artifact::CLI
Class Method Summary
collapse
Instance Method Summary
collapse
default_options, detect, exec_options, exit_on_failure?, parse_reporters, profile_options, target_options, validate_reporters
Class Method Details
.banner(command, _namespace = nil, _subcommand = false) ⇒ Object
98
99
100
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 98
def self.banner(command, _namespace = nil, _subcommand = false)
"#{basename} #{subcommand_prefix} #{command.usage}"
end
|
.subcommand_prefix ⇒ Object
102
103
104
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 102
def self.subcommand_prefix
namespace
end
|
Instance Method Details
#generate_keys ⇒ Object
111
112
113
114
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 111
def generate_keys
puts 'Generating keys'
keygen
end
|
#install_profile ⇒ Object
137
138
139
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 137
def install_profile
profile_install
end
|
#sign_profile ⇒ Object
121
122
123
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 121
def sign_profile
profile_sign
end
|
#verify_profile ⇒ Object
128
129
130
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 128
def verify_profile
profile_verify
end
|