Skip to main content

Keep - A Meta CLI toolkit

Your personal shell command keeper

data/keep.gif

Why?

Raj loves using the command line.

Raj 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, Raj has to do X in terminal, again. Raj 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!

Raj finally finds the solution. From this time Raj 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 syn 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.

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 :

Metadata

Release files for keep 2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for keep 2
File Size Uploaded Provenance
keep-2.tar.gz 7.2 kB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for keep 2
File Interpreter ABI Platform
keep-2-py3-none-any.whl Python 3 none any Details
keep-2-py2-none-any.whl Python 2 none any Details

Total release size: 32.1 kB

Release files / keep-2.tar.gz

Download URL keep-2.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
259a5d7290db56df1fb824aa3edd3524e938773868015ca47584ffcff27a3be9
BLAKE2b-256 checksum
How to use checksums
e5efd2cd5267e0647e7592da9acb8bc45f8a3e17573aaaba930d3036660572e9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / keep-2-py3-none-any.whl

Download URL keep-2-py3-none-any.whl
Size 12.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f5db1c189b6b8f10b5c9d694f6b4fab29de587f9f9d6601844eb3b424a85e797
BLAKE2b-256 checksum
How to use checksums
c474d9e1a6e1fb2e1bf729668ef504241ade6020dd0107809bbbe7fc41e31409
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / keep-2-py2-none-any.whl

Download URL keep-2-py2-none-any.whl
Size 12.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
dc8b3d3815ae23a31e825ba14b81e6a9bbef39d5faf22c52041c28b4e575275d
BLAKE2b-256 checksum
How to use checksums
710763a92ccf4ed7617b56e014c64d942fe3e9cabdeadfad55ae5390920bb064
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for keep 2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page