feat(sterni/clhs): add cli to lookup symbols in the CLHS

Probably very similar to M-x sly-hyperspec-lookup: take a list of
common lisp symbols on the command line open the corresponding pages
in a local copy of the hyperspec in $BROWSER. Optionally the paths can
be printed to stdout.

Change-Id: I389e254f14eb0fc8fd8b18a4dbfe7adeeda9ba72
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2397
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
sterni 2021-01-14 22:57:07 +01:00
parent 80e1ece329
commit 861c0f0c79
4 changed files with 106 additions and 0 deletions

View file

@ -0,0 +1,13 @@
# clhs-lookup
Simple cli to lookup symbols' documentation in a local copy of the
Common Lisp HyperSpec.
## usage
```
clhs-lookup [--print] symbol [symbol [...]]
--print Print documentation paths to stdout instead of
opening them with $BROWSER (defaults to xdg-open).
```