#markdown #front-matter #search #filtering #cli #yaml #displaying

bin+lib quocktail

Rust CLI for searching through nested directories of markdown files with frontmatter, filtering and displaying the results

7 releases

0.1.6 Mar 17, 2024
0.1.5 Feb 18, 2024

#1640 in Filesystem

Download history 14/week @ 2024-07-01 21/week @ 2024-07-29 60/week @ 2024-09-23

60 downloads per month

GPL-3.0-or-later

30KB
416 lines

Usage: quocktail [OPTIONS] <PATH>

Arguments:
  <PATH>

Options:
      --color <COLOR>      Should the output be colored? [default: auto] [possible values: always, auto, never]
  -q, --query <QUERY>      Queries in the form `key=value`, or just `key` e.g. `-Q garnish` matches anything with a garnish e.g. `-Q base=vodka` matches anything with a vodka base
  -n, --exclude <EXCLUDE>  Negative queries in the form `key=value`, or just `key` e.g. `-N garnish` excludes anything with a garnish e.g. `-N base=vodka` excludes anything with a vodka base
  -c, --count <COUNT>      If specified, limit the output to this number of recipes, randomly chosen
  -h, --help               Print help

lib.rs:

Quocktail is a CLI for searching yaml frontmatter in markdown files.

Yada yada yada.

Dependencies

~7–20MB
~207K SLoC