Class: GoogleSslCert::CLI
- Inherits:
-
Command
show all
- Defined in:
- lib/google_ssl_cert/cli.rb,
lib/google_ssl_cert/cli/base.rb,
lib/google_ssl_cert/cli/help.rb,
lib/google_ssl_cert/cli/prune.rb,
lib/google_ssl_cert/cli/create.rb,
lib/google_ssl_cert/cli/secret.rb
Defined Under Namespace
Modules: Help
Classes: Base, Create, Prune, Secret
Instance Method Summary
collapse
Methods inherited from Command
alter_command_description, command_help, dispatch, exit_on_failure?, website
Instance Method Details
#completion(*params) ⇒ Object
47
48
49
|
# File 'lib/google_ssl_cert/cli.rb', line 47
def completion(*params)
Completer.new(CLI, *params).run
end
|
#completion_script ⇒ Object
#create(cert_name) ⇒ Object
27
28
29
|
# File 'lib/google_ssl_cert/cli.rb', line 27
def create(cert_name)
Create.new(options.merge(cert_name: cert_name)).run
end
|
#prune(cert_name) ⇒ Object
37
38
39
|
# File 'lib/google_ssl_cert/cli.rb', line 37
def prune(cert_name)
Prune.new(options.merge(cert_name: cert_name)).run
end
|
#version ⇒ Object
58
59
60
|
# File 'lib/google_ssl_cert/cli.rb', line 58
def version
puts VERSION
end
|