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 |