Personal shell command keeper
A Meta CLI toolkit
Your personal shell command keeper
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?
- 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.
$ pip install keep
You can install pip using apt-get as sudo apt install python-pip.
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.
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 :
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|File Name & Checksum SHA256 Checksum Help||Version||File Type||Upload Date|
|keep-2.4.2-py2-none-any.whl (13.7 kB) Copy SHA256 Checksum SHA256||2.7||Wheel||Apr 18, 2017|
|keep-2.4.2-py3-none-any.whl (13.7 kB) Copy SHA256 Checksum SHA256||3.5||Wheel||Apr 18, 2017|
|keep-2.4.2.tar.gz (8.3 kB) Copy SHA256 Checksum SHA256||–||Source||Apr 18, 2017|