Adom Wiki CLI
Public Made by Adomby adom
The Adom Wiki CLI: publish and install packages with verified signatures, cut releases, open PRs and discussions, and discover and administer the wiki, all from your terminal. Replaces adompkg.
pr create --help points at --body-file, which pr create does not implement
adom-wiki pr create --help describes --body as:
Inline body text; use --body-file for multi-line bodies or anything with backticks/$()
But pr create does not implement --body-file:
$ adom-wiki pr create adom/widgets --title T --body-file body.md --files widgets.json
error: unexpected argument '--body-file' found
tip: a similar argument exists: '--body'
issue create and issue edit both accept --body-file, so the flag exists on
the neighbouring verbs — which makes the help text read as a statement of fact
rather than a typo, and sends you looking for what you got wrong.
It matters most exactly where the help text says it does: a PR body is the one
that is long, multi-line, and full of backticks and $(...) in code fences.
Passing that through --body means shell-quoting it correctly by hand.
Either implement --body-file on pr create (preferred — it is the verb that
needs it most), or drop the sentence from --body's help.
Minor, adjacent: pr comment also has no --body-file, and its id is the
global PR id while issue verbs take a per-page <owner>/<slug>#<n>
ordinal. Both are defensible, but the asymmetry is worth a line in the help.