update README.md
parent
3c6480a1eb
commit
835abbd1b2
30
README.md
30
README.md
|
@ -1,2 +1,32 @@
|
||||||
# JWT
|
# JWT
|
||||||
> This is a simple tool to sign, verify and show JSON Web Tokens ([JWT](http://jwt.io/)) from the command line, base [jwt-go](https://github.com/dgrijalva/jwt-go).
|
> This is a simple tool to sign, verify and show JSON Web Tokens ([JWT](http://jwt.io/)) from the command line, base [jwt-go](https://github.com/dgrijalva/jwt-go).
|
||||||
|
|
||||||
|
# Install
|
||||||
|
|
||||||
|
```
|
||||||
|
➜ go get -u github.com/ehlxr/jwt
|
||||||
|
```
|
||||||
|
|
||||||
|
# Usage
|
||||||
|
|
||||||
|
```
|
||||||
|
➜ jwt
|
||||||
|
JWT(Json Web Token) 工具
|
||||||
|
用于生成、验证、查看 JWT
|
||||||
|
|
||||||
|
Usage:
|
||||||
|
jwt [command]
|
||||||
|
|
||||||
|
Available Commands:
|
||||||
|
help Help about any command
|
||||||
|
show 查看 JWT Token
|
||||||
|
sign JWT 签名
|
||||||
|
verify JWT token 验证
|
||||||
|
|
||||||
|
Flags:
|
||||||
|
--config string config file (default is $HOME/.jwt.yaml)
|
||||||
|
-h, --help help for jwt
|
||||||
|
-v, --version show version of the jwt.
|
||||||
|
|
||||||
|
Use "jwt [command] --help" for more information about a command.
|
||||||
|
```
|
Loading…
Reference in New Issue