Skip to main content

Personal shell command keeper

Project description

logo

https://img.shields.io/pypi/v/keep:alt:PyPI

A Meta CLI toolkit

Your personal shell command keeper

https://raw.githubusercontent.com/OrkoHunter/keep/master/data/keep.gif

Why?

Writwick Wraj loves using the command line.

Writwick googles “How to do X in terminal?” and multiple forums and blog posts finally provide him the magical command for the rescue. Problem Solved !

Fast forward couple weeks, Writwick has to do X in terminal, again. Wraj remembers solving this few weeks ago. Let him do a reverse-i-search with Ctrl+R. Nope, can’t remember sh*t. Browser search history? 25 web pages found matching X. Argh!

Writwik finally finds the solution. From this time Writwik starts writing the commands somewhere online for the future.

Wait, why shouldn’t he keep the command in his terminal itself if this is only place where he’ll ever have use it?

Features

  • Save a new command with a brief description

  • Search the saved commands using powerful patterns

  • Save the commands as a secret GitHub gist

  • Use keep push and keep pull to sync the commands between GitHub gist and other computers.

ProTip : Save the commands you usually forget in ssh sessions and sync it with your local machine.

Installation

$ pip3 install keep

Use Python 3.6 or later.

You can install pip3 using apt-get as sudo apt install python3-pip.

Usage

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.

Contribute

This is a very young project. If you have got any suggestions for new features or improvements, please comment over here. Pull Requests are most welcome !


Not a command line fanatic? Here are some resources for you :

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

keep-2.9.tar.gz (11.3 kB view details)

Uploaded Source

Built Distribution

keep-2.9-py3-none-any.whl (15.0 kB view details)

Uploaded Python 3

File details

Details for the file keep-2.9.tar.gz.

File metadata

  • Download URL: keep-2.9.tar.gz
  • Upload date:
  • Size: 11.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for keep-2.9.tar.gz
Algorithm Hash digest
SHA256 02b31b65eb4922aa7561068c2fa9c207b9e593702d44056cc1c5d705379b0224
MD5 6e28b03757a0620faef8b7f2f45fdceb
BLAKE2b-256 7e7b377b40cb0055bdf1313b743c365b81b9936ad87728a4c51782b4cf131388

See more details on using hashes here.

File details

Details for the file keep-2.9-py3-none-any.whl.

File metadata

  • Download URL: keep-2.9-py3-none-any.whl
  • Upload date:
  • Size: 15.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.2

File hashes

Hashes for keep-2.9-py3-none-any.whl
Algorithm Hash digest
SHA256 3f42b2fed1e4790b2ddf107f2bec134ff134a25bc58b04b1cfd4119ded223770
MD5 67290c6975f67a6e7c41081fa3f0ea9a
BLAKE2b-256 80ae6843c26471decedc02d688bb3367f66c878f943d543de55e9e77fec338e2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page