class DevCert::CLI
Public Instance Methods
export(bundle_path)
click to toggle source
# File lib/devcert/cli.rb, line 67 def export(bundle_path) ::DevCert::Export.export( ::File.absolute_path(bundle_path, ::Dir.pwd), options[:type], options[:output] ) end
genca(ca_name)
click to toggle source
# File lib/devcert/cli.rb, line 41 def genca(ca_name) ::DevCert::GenCA.generate_ca( ca_name, options[:output], options[:key_type], options[:rsa_key_size], options[:ec_key_size], options[:validity] ) end
issue(ca_bundle_path)
click to toggle source
# File lib/devcert/cli.rb, line 114 def issue(ca_bundle_path) ::DevCert::Issue.issue( ::File.absolute_path(ca_bundle_path, ::Dir.pwd), options[:domains], options[:output], options[:key_type], options[:rsa_key_size], options[:ec_key_size], options[:validity] ) end