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 Distribution

ytsnippet-0.3.tar.gz (3.2 kB view details)

Uploaded Source

File details

Details for the file ytsnippet-0.3.tar.gz.

File metadata

  • Download URL: ytsnippet-0.3.tar.gz
  • Upload date:
  • Size: 3.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.3

File hashes

Hashes for ytsnippet-0.3.tar.gz
Algorithm Hash digest
SHA256 bd56acd3040b9f468774c02181b1ed35d025c6b9a879a32e796bbaa90c16e07c
MD5 1b6ee042b052b2c3e23d7e25b2ac1d08
BLAKE2b-256 6ef8d09098a7ad878c68f55dcd06e7cd82e284c10f0a467820156b3ebace59cb

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