Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
clarketm authored Sep 28, 2019
1 parent 06b1466 commit 72344d2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ npm install --global "@clarketm/jwt-cli"

## Usage

---

### `sign [options] payload secret`

```shell
Expand All @@ -49,6 +51,8 @@ eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJhIjoxLCJpYXQiOjE1MjczMTI3NTIsImV4cCI6MTU
| -------------- | --------------------------------------- |
| `-n, --noCopy` | Do not copy the token to the clipboard. |

---

### `verify [options] token secret`

```shell
Expand All @@ -61,6 +65,8 @@ valid!

> Note: the `verify` subcommand accepts **all** the same [**options**](https://github.com/auth0/node-jsonwebtoken#jwtverifytoken-secretorpublickey-options-callback) as [`auth0/node-jsonwebtoken`](https://github.com/auth0/node-jsonwebtoken)
---

### `decode [options] token`

```shell
Expand All @@ -83,6 +89,8 @@ copied to clipboard:
| -------------- | ----------------------------------------- |
| `-n, --noCopy` | Do not copy the payload to the clipboard. |

---

## Related

- [node-jsonwebtoken](https://github.com/auth0/node-jsonwebtoken) – JsonWebToken implementation for node.js
Expand Down

0 comments on commit 72344d2

Please sign in to comment.