Class: Artifact::CLI
Overview
rubocop:disable Metrics/ClassLength
Class Method Summary
collapse
Instance Method Summary
collapse
exec_options, profile_options, target_options
Class Method Details
.banner(command, _namespace = nil, _subcommand = false) ⇒ Object
99
100
101
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 99
def self.banner(command, _namespace = nil, _subcommand = false)
"#{basename} #{subcommand_prefix} #{command.usage}"
end
|
.subcommand_prefix ⇒ Object
103
104
105
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 103
def self.subcommand_prefix
namespace
end
|
Instance Method Details
#generate_keys ⇒ Object
112
113
114
115
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 112
def generate_keys
puts 'Generating keys'
keygen
end
|
#install_profile ⇒ Object
138
139
140
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 138
def install_profile
profile_install
end
|
#sign_profile ⇒ Object
122
123
124
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 122
def sign_profile
profile_sign
end
|
#verify_profile ⇒ Object
129
130
131
|
# File 'lib/bundles/inspec-artifact/cli.rb', line 129
def verify_profile
profile_verify
end
|