add docs programs
This commit is contained in:
9
bin/pydoc-list
Executable file
9
bin/pydoc-list
Executable 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"
|
||||
Reference in New Issue
Block a user