Text snippets on the command line. Quickly create topics and store snippets for easy recall and reuse.

Installation

```

cargo install snip ```

Example

```

snip put rust // rust topic created

snip rust docs https://docs.rs/ < Entry inserted in to rust

snip put rust main https://www.rust-lang.org/ < Entry inserted in to rust

snip show rust < main: https://www.rust-lang.org/ < docs: https://docs.rs/

snip show rust docs < https://docs.rs/

snip get rust docs // docs value copied to your clipboard use with ctrl-v ```

Commands

Create

Create a topic ```

snip put ```

Create a topic snippet ```

snip put ```

Get

Get a specific snippet from a topic (copied in to your clipboard) ```

snip get ```

Open

Open a specific snippet from a topic in the default browser ```

snip open ``` Note: This will only work for snippets that are shaped like a URL If this is run on a non-URL shaped snippet the program with panic and exit

Echo

Print all snippets for all topics ```

snip echo all ```

Print all snippets for a specific topic ```

snip echo ```

Print a specific snippet from a specific topic ```

snip echo ```

Delete

Delete a topic and all its snippets ```

snip del ```

Delete a specific snippet from a topic ```

snip del ```

Nuke all the topics and their contents (delete everything) ```

snip nuke ```

Export

Export your .snip file (create .zip at location for transport) ```

snip export ``` Note:
This would create a snip.zip file on your Desktop that you can later import