add docs programs

This commit is contained in:
KK
2026-06-24 00:08:07 +02:00
parent 9577ad69c9
commit a7f6f8a3e0
3 changed files with 176 additions and 0 deletions

9
bin/pydoc-list Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/sh
module="$(
python - <<'PY' | wmenu -i -l 20
import pkgutil
for m in sorted({m.name for m in pkgutil.iter_modules()}):
print(m)
PY
)"
[ -n "$module" ] && foot -e python -m pydoc "$module"