个人炮弹指挥人员

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是否在servlet中检索上一页路径?   Java抱怨在开关的默认情况下未初始化最终字段   Java泛型:为什么编译器不能判断这个类<t>对象与这个类的类型参数的对象的类具有相同的类型?   Java:继承方法中使用的私有变量   HibernateJava。ClassCastException:java。lang.Integer不能强制转换为abc。def。我的项目。奥姆。EmployeeTopMetaData   http java发布和下载文件   java改进条件检查   java如何将2d数组的条目作为键放在地图中   java如何获取传递给运行时的值。getRuntime。JUnit测试用例中的exit(value)   java注释来创建所有可能的构造函数   自动建议列表:java。lang.IllegalArgumentException:在XPath表达式为null时找不到元素   为什么MapAPI在Java中不提供流功能?   gradle不导入本地java库   尽管我使用的是SessionCreationPolicy,java Spring安全性似乎仍在使用会话。无国籍   使用java查找MongoDB中数组元素的平均值