1
0
mirror of https://github.com/taigrr/nats.docs synced 2025-01-18 04:03:23 -08:00

Remove shell prompt character

Currently, our copy-able snippets have a shell prompt. When someone clicks on
the copy button, the shell prompt gets copied along with the command we want
copied. This removes the shell prompt so that users don't have to edit that out
themselves when they paste one of our commands.
This commit is contained in:
Jaime Piña 2021-01-25 11:55:30 -08:00 committed by GitHub
parent 3c4ea4dd1a
commit c69c4e404d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -9,15 +9,15 @@ A utility for creating `bcrypt` hashes is included with the nats-server distribu
If you have [go installed](https://golang.org/doc/install), you can easily install the `mkpasswd` tool by doing:
```text
> go get github.com/nats-io/nats-server/util/mkpasswd
go get github.com/nats-io/nats-server/util/mkpasswd
```
Alternatively, you can:
```text
> git clone git@github.com:nats-io/nats-server
> cd nats-server/util/mkpasswd
> go install mkpasswd.go
git clone git@github.com:nats-io/nats-server
cd nats-server/util/mkpasswd
go install mkpasswd.go
```
## Generating bcrypted passwords