mirror of
https://github.com/FiloSottile/mkcert.git
synced 2025-10-13 16:31:41 +08:00
Homebrew and usage
This commit is contained in:
18
main.go
18
main.go
@@ -81,7 +81,23 @@ func (m *mkcert) Run(args []string) {
|
||||
}
|
||||
|
||||
if len(args) == 0 {
|
||||
log.Println("Usage: TODO")
|
||||
log.Printf(`
|
||||
Usage:
|
||||
|
||||
$ mkcert -install
|
||||
Install the local CA in the system trust store.
|
||||
|
||||
$ mkcert example.org
|
||||
Generate "example.org.pem" and "example.org-key.pem".
|
||||
|
||||
$ mkcert example.com myapp.dev localhost 127.0.0.1 ::1
|
||||
Generate "example.com+4.pem" and "example.com+4-key.pem".
|
||||
|
||||
$ mkcert -uninstall
|
||||
Unnstall the local CA (but do not delete it).
|
||||
|
||||
Change the CA certificate and key storage location by setting $CAROOT.
|
||||
`)
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user