Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including devcert-cli with all npm packages installed. Try it out:

var devcertCli = require("devcert-cli")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

devcert-cli v1.0.0

A CLI wrapper for devcert, to manage development SSL/TLS certificates and domains

devcert-cli

A CLI wrapper for devcert, to manage development SSL/TLS certificates and domains

Version Downloads/week License

* [Usage](#usage) * [Commands](#commands) # Usage ```sh-session $ npm install -g devcert-cli $ devcert COMMAND running command... $ devcert (-v|--version|version) devcert-cli/1.0.0 darwin-x64 node-v9.11.0 $ devcert --help [COMMAND] USAGE $ devcert COMMAND ... ``` # Commands * [devcert disable [DOMAIN]](#devcert-disable-domain) * [devcert generate [DOMAIN]](#devcert-generate-domain) * [devcert help [COMMAND]](#devcert-help-command) * [devcert list](#devcert-list)

devcert disable [DOMAIN]

delete the cached certificate for a domain

USAGE
  $ devcert disable [DOMAIN]

See code: src/commands/disable.ts

devcert generate [DOMAIN]

generate an SSL/TLS private key and certificate for a domain

USAGE
  $ devcert generate [DOMAIN]

OPTIONS
  --skipCertutilInstall  don't attempt to install nss / certutil tooling (needed on some platforms to automate setup)
  --skipHostsFile        don't attempt to modify the /etc/hosts file to support custom domains

See code: src/commands/generate.ts

devcert help [COMMAND]

display help for devcert

USAGE
  $ devcert help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

devcert list

list the domains that devcert has generated a certificate for

USAGE
  $ devcert list

EXAMPLE
  $ devcert list
  Configured domains:

  my-app.test
  client-project.test

See code: src/commands/list.ts

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free