MCPcopy Index your code
hub / github.com/chenjiandongx/pls

github.com/chenjiandongx/pls @v0.1.4

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.1.4 ↗ · + Follow
20 symbols 56 edges 6 files 1 documented · 5% updated 5y agov0.1.4 · 2021-06-17★ 843 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Core symbols most depended-on inside this repo

retryDownloadCmd
called by 3
cmd/show.go
getHomedir
called by 2
cmd/show.go
isFileExist
called by 2
cmd/show.go
getConfigContent
called by 2
cmd/show.go
NewSearchCommand
called by 1
cmd/search.go
unmarshalIndex
called by 1
cmd/search.go
searchCmd
called by 1
cmd/search.go
Execute
called by 1
cmd/root.go

Shape

Function 18
Struct 2

Languages

Go100%

Modules by API surface

cmd/show.go10 symbols
cmd/search.go4 symbols
cmd/upgrade.go2 symbols
cmd/root.go2 symbols
main.go1 symbols
cmd/version.go1 symbols

For agents

$ claude mcp add pls \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page