Class: DevCert::CLI
- Inherits:
-
Thor
- Object
- Thor
- DevCert::CLI
- Defined in:
- lib/devcert/cli.rb
Instance Method Summary collapse
Instance Method Details
#export(bundle_path) ⇒ Object
67 68 69 70 71 72 73 |
# File 'lib/devcert/cli.rb', line 67 def export(bundle_path) ::DevCert::Export.export( ::File.absolute_path(bundle_path, ::Dir.pwd), [:type], [:output] ) end |
#genca(ca_name) ⇒ Object
41 42 43 44 45 46 47 48 49 50 |
# File 'lib/devcert/cli.rb', line 41 def genca(ca_name) ::DevCert::GenCA.generate_ca( ca_name, [:output], [:key_type], [:rsa_key_size], [:ec_key_size], [:validity] ) end |
#issue(ca_bundle_path) ⇒ Object
114 115 116 117 118 119 120 121 122 123 124 |
# File 'lib/devcert/cli.rb', line 114 def issue(ca_bundle_path) ::DevCert::Issue.issue( ::File.absolute_path(ca_bundle_path, ::Dir.pwd), [:domains], [:output], [:key_type], [:rsa_key_size], [:ec_key_size], [:validity] ) end |