okf-wiki 1.1.1
First public release, published as one snapshot. What changed between versions is in CHANGELOG.md. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
commit
0fd86a23a3
227 changed files with 96077 additions and 0 deletions
11
bin/okf-wiki
Executable file
11
bin/okf-wiki
Executable file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
# okf-wiki MODULE [ARGS...]: run python3 -m okfwiki.MODULE from any folder (the plugin puts bin/ on PATH).
|
||||
# Paths in ARGS stay relative to the folder the command runs in. No model call (CLAUDE.md rule 1).
|
||||
if [ $# -lt 1 ]; then
|
||||
echo "usage: okf-wiki MODULE [ARGS...] (sources, kblocks, kpack, klink, kassemble, audit, claims, reader, view, serve, ...)" >&2
|
||||
exit 2
|
||||
fi
|
||||
root="$(cd "$(dirname "$0")/.." && pwd -P)"
|
||||
module="$1"
|
||||
shift
|
||||
PYTHONPATH="$root${PYTHONPATH:+:$PYTHONPATH}" exec python3 -m "okfwiki.$module" "$@"
|
||||
Loading…
Add table
Add a link
Reference in a new issue