Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chenjiandongx/pls
✏️ Impressive Linux commands cheat sheet CLI written in Go.
https://github.com/chenjiandongx/pls
cheatsheet linux-command
Last synced: about 1 month ago
JSON representation
✏️ Impressive Linux commands cheat sheet CLI written in Go.
- Host: GitHub
- URL: https://github.com/chenjiandongx/pls
- Owner: chenjiandongx
- License: mit
- Created: 2019-12-28T07:31:25.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-06-16T17:14:05.000Z (over 3 years ago)
- Last Synced: 2024-10-29T05:34:59.646Z (about 2 months ago)
- Topics: cheatsheet, linux-command
- Language: Go
- Homepage:
- Size: 64.5 KB
- Stars: 80
- Watchers: 3
- Forks: 13
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesomeLibrary - pls - ✏️ Impressive Linux commands cheat sheet CLI written in Go. (语言资源库 / go)
- my-awesome - chenjiandongx/pls - command pushed_at:2021-06 star:0.1k fork:0.0k ✏️ Impressive Linux commands cheat sheet CLI written in Go. (Go)
README
# pls
> Impressive Linux commands cheat sheet cli. [Python 版本](https://github.com/chenjiandongx/how)
### Installation
#### 1) 使用 `go get` 安装
```shell
$ go get -u github.com/chenjiandongx/pls
```#### 2) 使用编译好的二进制版本
https://github.com/chenjiandongx/pls/releases
### Usages
```shell
~ 🐶 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 plsFlags:
-h, --help help for plsUse "pls [command] --help" for more information about a command.
```建议第一次使用的时候先初始化所有命令
```shell
$ 🐶 pls upgrade
```配置文件位于 `~/.commands/config.json` 可以更改命令文件下载目录
```shell
❯ 🐶 cat ~/.commands/config.json
{"dir":"/Users/chenjiandongx/.commands"}
```可以将输出结果传入到 less 管道
```shell
$ 🐶 pls show curl | less
```效果图
![](https://user-images.githubusercontent.com/19553554/122259619-f1e3f780-cf04-11eb-949e-763d82a4e3b9.png)
![](https://user-images.githubusercontent.com/19553554/122258451-a0873880-cf03-11eb-865f-067416787cb7.png)### LICENSE
MIT [©chenjiandongx](https://github.com/chenjiandongx)