个人炮弹指挥人员

keep的Python项目详细描述


logo

meta cli工具包

Your personal shell command keeper
https://raw.githubusercontent.com/OrkoHunter/keep/master/data/keep.gif

为什么?

writwick wraj喜欢使用命令行。

writwick googles“如何在终端做x?”“多个论坛和博客文章最终为他提供了神奇的救援命令。问题解决了!

再过两周,writwick又要在终端上做x了。Wraj记得几周前解决了这个问题。让他用ctrl+r进行反向i-搜索。不,不记得浏览器搜索历史了吗?找到25个与x匹配的网页。啊!

writwik终于找到了解决方案。从这个时候起,writwik开始在将来的某个地方在线编写命令。

等等,如果这是他唯一能使用命令的地方,他为什么不把命令保存在终端里呢?

功能

  • 用简短的说明保存新命令
  • 使用强大的模式搜索保存的命令
  • 将命令另存为机密github gist
  • 使用keep pushkeep pull在github gist和其他计算机之间同步命令。

protip:保存ssh会话中通常忘记的命令,并将其与本地计算机同步。

安装

$ pip3 install keep

使用Python3.6或更高版本。

您可以使用apt get作为sudo apt install python3-pip安装pip3。

使用量

Usage: keep [OPTIONS] COMMAND [ARGS]...

  Keep and view shell commands in terminal only.

  Read more at https://github.com/orkohunter/keep

Options:
  -v, --verbose  Enables verbose mode.
  --help         Show this message and exit.

Commands:
  edit          Edit a saved command.
  github_token  Register a GitHub Token to use GitHub Gists as a backup.
  grep          Searches for a saved command.
  init          Initializes the CLI.
  list          Shows the saved commands.
  new           Saves a new command.
  pull          Pull commands from saved GitHub gist.
  push          Push commands to a secret GitHub gist.
  rm            Deletes a saved command.
  run           Executes a saved command.
  update        Check for an update of Keep.

See the detailed usage and tutorial.

贡献

这是一个非常年轻的项目。如果您对新功能或改进有任何建议,请在here上发表评论。拉请求是最受欢迎的!


不是命令行狂热分子?以下是一些资源:

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java将字符串拆分为带关键字的部分   删除数据库后未指定java数据源问题“url”属性   网络化java多人游戏连接   Java当新字符串等于旧字符串时,为什么substring()不创建新对象?   一个实例到多个bean的java注入   JavaSpringMVC验证错误消息   java总结if语句,并从另一个对象(如字符串[])读取if条件(动态if)   需要多个输入的Java IF语句   jsf如何选择正确的bean范围?   java将数据库值加载到组合框JSP,Hibernate   一次活动中的java 3布局   团队和球员反对Java的困难   java ActionListener如何知道按下了哪个按钮?