Skip to main content

Personal shell command keeper

Project description

logo

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 on the remote on the server

  • Use keep push and keep pull to sync the commands between all your computers.

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

Installation

$ pip install keep

You can install pip using apt-get as sudo apt install python-pip.

Usage

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

  Keep and view shell commands in terminal only.

  Read more at https://orkohunter.net/keep

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

Commands:
  grep      Searches for a saved command.
  init      Initializes the CLI.
  list      Show the saved commands.
  new       Saves a new command.
  pull      Updates the local database with remote.
  push      Pushes the local database to remote.
  register  Register user over server.
  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.5.1.tar.gz (9.3 kB view details)

Uploaded Source

Built Distribution

keep-2.5.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: keep-2.5.1.tar.gz
  • Upload date:
  • Size: 9.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for keep-2.5.1.tar.gz
Algorithm Hash digest
SHA256 07652699a5b65f1d8729292a9ba50d059bfb454102a7b8c6862d7aea2ddd70d9
MD5 69b46f2b66e0f0099dbe7df3ca604d12
BLAKE2b-256 ab4bc7220c37546d6676b2d8fba7a8e8bb3dc96a2aa9b1bdfb4a173f441ee6d4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: keep-2.5.1-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.19.1 setuptools/40.4.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.0

File hashes

Hashes for keep-2.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 018d3e47e8f49348253066546bdd80fee80af5ebfa2a03b938f1c70f129b8b5e
MD5 9a3349c9d47c28fd3b1340ed9e099547
BLAKE2b-256 14623411191e8ee2465d84b1403f2eb2b4846281c1bbea0747d7754db059c226

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