about summary refs log tree commit diff
path: root/users/sterni/clhs/README.md
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2021-01-14T21·57+0100
committersterni <sternenseemann@systemli.org>2021-01-17T13·17+0000
commit861c0f0c79c4bd182552eea519978c8a1446d634 (patch)
tree88e0906e2ae8d146bbb9e57359349514ee5440d9 /users/sterni/clhs/README.md
parent80e1ece32931530a0a024db9828d197f3fdb1951 (diff)
feat(sterni/clhs): add cli to lookup symbols in the CLHS r/2122
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>
Diffstat (limited to 'users/sterni/clhs/README.md')
-rw-r--r--users/sterni/clhs/README.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/users/sterni/clhs/README.md b/users/sterni/clhs/README.md
new file mode 100644
index 000000000000..1f42ff43a210
--- /dev/null
+++ b/users/sterni/clhs/README.md
@@ -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).
+```