Skip to main content

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

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ytsnippet-0.4-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

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

Hashes for ytsnippet-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 489f4779ef6a99551aecdbad462e23ffa67cbcd9090f3ffd730dae1f836d43fb
MD5 45e99445ee66e8b338f8abb81193e0fa
BLAKE2b-256 91ce6ad55e8fab96657291d66f848bd4d35a82c3ab7550888f0b295f270a3ccc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page