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:
parent
80e1ece329
commit
861c0f0c79
4 changed files with 106 additions and 0 deletions
13
users/sterni/clhs/README.md
Normal file
13
users/sterni/clhs/README.md
Normal 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).
|
||||
```
|
||||
Loading…
Add table
Add a link
Reference in a new issue