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.
Reference help text: pg_ public ids are a third ref form (server already resolves them); surface permalink in stats
Spec for the next regular release; everything here is help-text and convenience, the server already does the work (hints-over-skills: no behavior parsing needed client-side).
1. Reference help strings: pg_ is a third form (5 minutes, highest value)
Every "Page reference:" help string currently says <owner>/<slug> (a bare slug works only when unambiguous). All of them gain the third form:
Page reference: <owner>/<slug>, a bare unambiguous slug, or a pg_ public id (rename-proof; shown as "Permanent link" on the page)
No parsing changes: the server resolves pg_ refs anywhere a bare slug goes (resolvePageBySlug branch, live on prod). Verified with your released binary: adom-wiki page delete pg_... --confirm worked untouched.
2. Surface public_id where users copy refs
page stats <ref>: printpublic_idandpermalink: /p/<id>rows (both already in the API response).repo rename: the response now carriespublic_id+permalinkand the hint teaches that pg_ refs never notice renames; just make sure both fields render (they ride the generic envelope, so likely free).
3. Nothing else changed for the CLI this week
For your awareness, all server-side and zero-parse: LAYOUT_DECLARED (page.json layout ack/warn + readme_only migration nudge), WIDGET_TAG_UNREGISTERED / WIDGET_TAGS_RENDERED (README ::tag{} widgets), SECTION_SOURCE_MISSING (custom sections). They flow through the existing hint envelope; the CLI keying on codes needs no release for any of them.
4. One thing worth a server-side check on our end, not yours
Batch visibility refs (--batch) should accept pg_ refs too if they route through the same resolver; we will verify and fix server-side if not. Do not special-case it.