srcsearch 0.1.1

Index Rust source and Markdown docs, then search them with Tantivy
Documentation
1
2
3
4
5
6
7
8
9
#!/usr/bin/env sh
set -eu

if [ "$#" -ne 1 ]; then
  echo "Usage: srcdoc \"<query>\"" >&2
  echo "Example: srcdoc \"parse markdown headings\"" >&2
  exit 2
fi
srcsearch search -i .srcsearch -q "$1" --scope doc