Skip to main content

Snip

A small tool that lets you save long commands under short nicknames so you copy them to your clipboard whenever you want.

Why

I can't remember long commands that I use almost daily, maybe its just because i am lazy. So instead of finding and writing those long commands over and over again, i can just save them under a nickname once and then all i have to remember is the small nickname i gave it.

Features

  • snip add <name> <command> - for saving a command under a nickname
  • snip get <name> - for copying a saved command directly to clipboard
  • snip list - for showing all saved snippets/commands
  • snip delete <name> - for deletng a saved snippet/command

Installing

git clone https://github.com/azhan-builds/Snippper
cd snip
pip install -e .

Usage

```bash snip add gitpush "git push origin main" snip get gitpush

git push origin main is now on your clipboard

snip list snip delete gitpush ```

Built with

-Python -argparse for the command line interface -json for storing commands locally -pyperclip for system's clipboars support

Release files for snip-cli 1.0

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

Source distribution (sdist)

Source distribution for snip-cli 1.0
File Size Uploaded
snip_cli-1.0.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for snip-cli 1.0
File Interpreter ABI Platform
snip_cli-1.0-py3-none-any.whl Python 3 none any Details

Total release size: 5.0 kB

Release files / snip_cli-1.0.tar.gz

Download URL snip_cli-1.0.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
4d86b1043b0a383d0119ba1b7152a3c77993435f89cd11917d0e7bef95a0166b
BLAKE2b-256 checksum
How to use checksums
d850c9c5ef8cb0fd88d2d935686de07f11afeb80b4f8a55da3e1d1f852d13819
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release files / snip_cli-1.0-py3-none-any.whl

Download URL snip_cli-1.0-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0d0086637cbb283b3fe92487f9fe34506861b98c228ae2ae08186378541fdb78
BLAKE2b-256 checksum
How to use checksums
b43ab7b652cbb5d29facea47dc69dfe42257bd29c05b20c8607972cad8352df6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files

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