A simple code snippet manager
Project description
Snippet Manager
A simple command-line tool to manage code snippets.
Installation
pip install ytsnippet
Usage Interactive Mode
ytsnippet --interactive
Run the above command to start interactive mode, where you can add, search, view, and delete snippets interactively.
Add a snippet
Command: add
Title: Example Snippet
Content: print('Hello, World!')
Tags (comma-separated): example, hello
Follow the prompts to add a new snippet. You will be asked for the title, content, and tags of the snippet.
Search snippets
Command: search
Search query: hello
Enter a search query to find snippets matching the title or tags.
View a snippet
Command: view
Snippet ID: 1
Enter the ID of the snippet you want to view.
Delete a snippet
Command: delete
Snippet ID: 1
Enter the ID of the snippet you want to delete.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ytsnippet-0.4-py3-none-any.whl.
File metadata
- Download URL: ytsnippet-0.4-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
489f4779ef6a99551aecdbad462e23ffa67cbcd9090f3ffd730dae1f836d43fb
|
|
| MD5 |
45e99445ee66e8b338f8abb81193e0fa
|
|
| BLAKE2b-256 |
91ce6ad55e8fab96657291d66f848bd4d35a82c3ab7550888f0b295f270a3ccc
|