snippet
Code snippet manager.
Commands
save
Save snippet from stdin
scripts/script.sh save <name> [lang]
get
Display a snippet
scripts/script.sh get <name>
list
List all snippets (filter by language)
scripts/script.sh list [lang]
search
Search snippets by name/content/tags
scripts/script.sh search <keyword>
delete
Delete a snippet
scripts/script.sh delete <name>
tags
Add tags to a snippet
scripts/script.sh tags <name> <tag1> ...
export
Export all snippets
scripts/script.sh export <json|md>
stats
Usage statistics
scripts/script.sh stats
Requirements
- python3
Powered by BytesAgain | bytesagain.com | hello@bytesagain.com