Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 945 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 945 Bytes

Sniper

CLI snippet manager inspired by YASnippet

Usage

running the --help command should get you started

❯ cargo run -- --help
   Compiling sniper v0.1.0 (/home/niedzwiedz/Programming/sniper)
    Finished dev [unoptimized + debuginfo] target(s) in 1.59s
     Running `target/debug/sniper --help`
sniper 0.1.0
[email protected]
CLI code snippet manager inspired by YASNippet. Config resides in ~/.config/sniper, and is generated
on first launch

USAGE:
    sniper <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    fetch    renders the template onto the terminal
    help     Print this message or the help of the given subcommand(s)

Troubleshooting

The parser doesn't support full YASnippet syntax. Got a snippet that doesn't work? Contribute it to ./test_data directory via a pull request and the support will be added.