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
97
98
99
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 97
def self.banner(command, _namespace = nil, _subcommand = false)
"#{basename} #{subcommand_prefix} #{command.usage}"
end
|
.subcommand_prefix ⇒ Object
101
102
103
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 101
def self.subcommand_prefix
namespace
end
|
Instance Method Details
#generate_keys ⇒ Object
110
111
112
113
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 110
def generate_keys
puts 'Generating keys'
keygen
end
|
#install_profile ⇒ Object
136
137
138
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 136
def install_profile
profile_install
end
|
#sign_profile ⇒ Object
120
121
122
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 120
def sign_profile
profile_sign
end
|
#verify_profile ⇒ Object
127
128
129
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 127
def verify_profile
profile_verify
end
|