aslice man pages

This directory holds the man page sources. Status: specified interface and build workflow; generated CLI help and installation remain implementation work.

Two rules define the system:

  1. The man pages and the CLI help are one source. aslice help <command> renders the same text as man aslice-<command>. There is no separate help text to drift out of sync — if a command's behavior changes, this file changes, and both views update together.
  2. Pages are written for people. The reader is tired, something is broken, and the page's job is to be the shortest correct path back.

Format and building

Pages are Markdown in pandoc's man-page dialect: a three-line % title block, then NAME, SYNOPSIS, DESCRIPTION, and the sections the page needs. Build them with:

pandoc -s -f markdown-smart -t man man/aslice-install.1.md -o share/man/man1/aslice-install.1

The specified aslice build will run this command for every *.1.md here and installs the results into the prefix's share/man/man1/. Disabling Pandoc's smart extension preserves literal -- option prefixes and straight quotes in prose and option labels. aslice shellenv adds that directory to MANPATH. No other tooling is involved, and the source remains readable as plain Markdown on the web and in editors.

Writing style

Conventions

When you add a command, add its page in the same PR. A command without a page doesn't ship.

Database maintenance and reconstruction: aslice-db(1), including role selection, read-only inspection, coordinated backup, and confirmed restore.

Command families

Family page Commands
aslice-install(1) install, reinstall
aslice-upgrade(1) upgrade, outdated
aslice-uninstall(1) uninstall, autoremove, mark, pin, unpin
aslice-apply(1) plan install, lock export, apply
aslice-adopt(1) adopt --from-homebrew
aslice-graft(1) graft approvals, graft revoke
aslice-inspect(1) search, info, flavors, leaves, why, provenance, audit
aslice-needs-restarting(1) needs-restarting
aslice-profile(1) history, rollback, switch-generation, link, unlink, profile prefer, exec, exec --replacement
aslice-use(1) use, pin, default, versions, which
aslice-gc(1) gc, clean, store verify
aslice-doctor(1) doctor, log
aslice-db(1) db list, db schema, db query, db check, db maintain, db compact, db backup, db restore
aslice-recover(1) recover, operation status, operation stop
aslice-self-update(1) self-update, decommission
aslice-repo(1) repo add, repo list, repo enable, repo disable, repo remove, repo re-pin, repo keys, repo audit, repo allow-system-patch, repo deny-system-patch, repo build, repo sign, repo publish
aslice-orchard(1) orchard add, orchard pin, orchard lint, orchard doctor, orchard freshness, orchard ci, orchard dependents, orchard deprecate, orchard disable, orchard undeprecate, orchard tombstone, orchard rename, orchard port
aslice-author(1) create, lint, build, test, livecheck, bump-pr
aslice-farm(1) farm plan, farm coordinator, farm agent, farm enroll
aslice-machine(1) machine apply, machine export, machine import
aslice-service(1) service list, service status, service start, service stop, service restart, service run
aslice-ca-update(1) ca-update, ca-update --keychain, ca-update --keychain-remove, ca-update --crypto, ca-update --apple-certs, ca-update --from-file
aslice-system-patch(1) system-patch list, system-patch status, system-patch restore, system-patch prepare, system-patch finalize
aslice-shell(1) shellenv, init, config get, config set, help

The complete syntax index is DESIGN §12.1. Related spellings resolve to their family page; CLI routing and installed man aliases remain implementation work.

Source document