个人炮弹指挥人员

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第三方库


热门话题
AmazonS3查找从S3forJava下载的压缩文件的MIME类型   java如何使用Selenium在<span>中查找具有特定文本的元素   python如何使用OpenIEDemo生成自定义三元组。由stanfordnlp提供的java   java遇到“方法不适用”编译错误   java如何使用Mockito在Looper中运行的验证代码。getMainLooper?   类Java目录错误   java在已知其他泛型信息时使用原始类型   java connect()和disconnect()在哪里实现?   java使用PDF Box库拆分PDF,生成的PDF几乎与源PDF文件大小相同   java PowerMockito返回错误的对象   java如何找到TIBCO集合消息的字节编码?   java Basic音乐播放器下一步和上一步按钮   添加模块描述符时,java没有名为“entityManagerFactory”的bean可用   java为什么我的代码不是线程安全的?   eclipse java。引用项目中的类的lang.NoClassDefFoundError