2018-08-01 03:18:23 +00:00
|
|
|
# hex-convert
|
|
|
|
|
2019-10-02 09:28:44 +00:00
|
|
|
```shell
|
2018-08-01 03:18:23 +00:00
|
|
|
支持 76 位以内的任意进制相互转换
|
|
|
|
|
|
|
|
Usage:
|
|
|
|
hc [command]
|
|
|
|
|
|
|
|
Available Commands:
|
|
|
|
b 转换为二进制
|
|
|
|
d 转换为十进制
|
|
|
|
h 转换为十六进制
|
|
|
|
help Help about any command
|
|
|
|
o 转换为八进制
|
|
|
|
server 启动 HTTP Server
|
2019-10-02 09:28:44 +00:00
|
|
|
version Print version
|
2018-08-01 03:18:23 +00:00
|
|
|
|
|
|
|
Flags:
|
|
|
|
-d, --data string 要转换数值
|
|
|
|
-h, --help help for hc
|
|
|
|
-s, --scale int 要转换的进制
|
2019-10-02 09:28:44 +00:00
|
|
|
|
|
|
|
Use "hc [command] --help" for more information about a command.
|
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
|
|
|
➜ hex-convert version
|
|
|
|
|
|
|
|
__ __
|
|
|
|
/ /_ ___ _ __ _________ ____ _ _____ _____/ /_
|
|
|
|
/ __ \/ _ \| |/_/_____/ ___/ __ \/ __ \ | / / _ \/ ___/ __/
|
|
|
|
/ / / / __/> </_____/ /__/ /_/ / / / / |/ / __/ / / /_
|
|
|
|
/_/ /_/\___/_/|_| \___/\____/_/ /_/|___/\___/_/ \__/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name: hc
|
|
|
|
Version: v1.0.1
|
|
|
|
BuildTime: 2019-10-02 17:26:13
|
|
|
|
GitCommit: ede4bd17e9749a011d4bcec953db0ae6b6c5695b
|
|
|
|
GoVersion: go version go1.13.1 darwin/amd64
|
2018-08-01 03:18:23 +00:00
|
|
|
```
|