| Crates.io | pocket-cli |
| lib.rs | pocket-cli |
| version | 1.0.2 |
| created_at | 2025-03-10 17:20:35.719308+00 |
| updated_at | 2025-03-17 08:38:32.626352+00 |
| description | A CLI tool for saving, organizing, and retrieving code snippets with integrated version control |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1586975 |
| size | 443,818 |
A CLI tool for saving, organizing, and retrieving code snippets with integrated version control. Because your brilliant solutions deserve better than being lost in a sea of Stack Overflow tabs.
Pocket helps developers save and find code snippets, manage version control, and automate workflows. It's designed to reduce the time spent searching for code you've already written—because let's face it, you've solved this problem before, you just can't remember where you put the solution.
@name command syntax# Install (the beginning of a beautiful friendship)
cargo install pocket-cli
# Save a snippet (future you will thank present you)
pocket add file.js
# Find a snippet (with eerily human-like understanding)
pocket search "that thing with the loop"
# Use a snippet (the payoff moment)
pocket insert ID file.js
# Add a shell extension for aliases and functions
pocket blend my_aliases.sh
# Create an executable hook you can run with @name
pocket blend --executable my_script.sh
For more detailed information, check out the documentation, which we've actually taken the time to write properly:
If you encounter any issues or have questions, please create an issue on GitHub. Be sure to include details about your environment and the steps to reproduce the problem. The more specific you are, the faster we can help—vague bug reports are the digital equivalent of "it hurts when I do something."
Current version: v-pocket-R1
I use a versioning system with letter-based releases, because apparently semver was too mainstream. For more information, see my versioning philosophy.
MIT - Which means you can do pretty much whatever you want with this code, as long as you keep the copyright notice. Freedom comes with surprisingly little fine print sometimes.