Documentation
¶
Overview ¶
Package cli contains the Cobra command implementations backing the orjanda binary: serve, migrate, new, init, console, agent, registry, install, uninstall, and test.
See TAD §16 and PRD §21 for the full command specification. Implemented in Phase 10.
Package cli implements the orjanda CLI commands backing cmd/orjanda (TAD §16 / PRD §21). The same command implementations power Application binaries via cli.Main (see main.go).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Main ¶
Main runs the orjanda CLI. When configure is non-nil the process is an Application binary (generated by `orjanda init`): configure registers the Application's Documents against the freshly-created site, so every command sees the app's own schema. When configure is nil the process is the standalone framework CLI (cmd/orjanda): commands inside an Application directory delegate to `go run . <cmd>` so user Documents are compiled in-process, and outside one they operate on a core-only site.
See TAD §16 / PRD §21. The configure callback is the TAD §7.1 "registered in main.go" composition-root hook surfaced to the CLI.
Types ¶
This section is empty.