Giter Site home page Giter Site logo

pls's Introduction

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

pls's People

Contributors

chenjiandongx avatar zoroqi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

pls's Issues

upgrade建议增加一个下载路径选择参数

当前默认下载到用户目录的.command文件夹内,可以考虑增加一个参数让用户自己选择在哪里创建.command来存放下载好的markdown文件(比如下载到和pls_windows_amd64.exe同级目录)。
之所以提出这个需求,是因为考虑到有用户的使用环境为企业内网,与互联网隔绝,通常这些用户都是在外网更新后,打包将程序和数据文件传入内网使用~我就是这种用户 :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.