Impressive Linux commands cheat sheet cli. Python 版本
$ go get -u github.com/chenjiandongx/pls
https://github.com/chenjiandongx/pls/releases
~ 🐶 pls --help
Impressive Linux commands cheat sheet cli.
Usage:
pls [command]
Available Commands:
help Help about any command
search Search command by keywords
show Show the specified command usage.
upgrade Upgrade all commands from remote.
version Prints the version of pls
Flags:
-h, --help help for pls
Use "pls [command] --help" for more information about a command.
建议第一次使用的时候先初始化所有命令
$ 🐶 pls upgrade
配置文件位于 ~/.commands/config.json
可以更改命令文件下载目录
❯ 🐶 cat ~/.commands/config.json
{"dir":"/Users/chenjiandongx/.commands"}
可以将输出结果传入到 less 管道
$ 🐶 pls show curl | less
效果图
MIT ©chenjiandongx