/pls

✏️ Impressive Linux commands cheat sheet CLI written in Go.

Primary LanguageGoMIT LicenseMIT

pls

Impressive Linux commands cheat sheet cli. Python 版本

Installation

1) 使用 go get 安装

$ go get -u github.com/chenjiandongx/pls

2) 使用编译好的二进制版本

https://github.com/chenjiandongx/pls/releases

Usages

~ 🐶 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

效果图

LICENSE

MIT ©chenjiandongx