A simple CLI utility to manage snippet
This repository has been archived on 2026-09-13. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
beffroi 95d7ec95ba Adds all custom errors (for now) transforms all panics in errors 2023-05-20 16:55:47 +02:00
src Adds all custom errors (for now) transforms all panics in errors 2023-05-20 16:55:47 +02:00
.gitignore Initial WIP 2023-05-17 15:39:38 +02:00
Cargo.toml Adds a lot of features 2023-05-19 21:09:18 +02:00
LICENSE Initial commit 2023-05-17 11:57:33 +02:00
README.md Refactors in 2 modules 2023-05-20 10:04:58 +02:00
TODO.md Adds all custom errors (for now) transforms all panics in errors 2023-05-20 16:55:47 +02:00

README.md

snp

drawing

A simple cli utility to manage snippets

Usage

To create a new snippet and edit it immediately
$ snp snippet_name -c -e list of default tokens

To edit the content of a snippet
$ snp snippet_name -e

To edit the whole snippet (allow for editing of name and list of args)
$ snp snippet_name -E

To delete a snippet
$ snp snippet_name -d

To use a snippet
$ snp snippet_name