This directory contains the Go implementation of the modernpath command.
The single user and technical guide is
docs/cli.md. Do not maintain installation, connection,
or command examples in this contributor README; update the canonical guide and
the relevant Cobra help together. In this monorepo, the canonical source is
modernpath-core/docs/cli.md; the source export publishes it as docs/cli.md
in ModernPath/cli. Keep the embedded guide in sync with that source.
go build -o modernpath .
go test ./...Install the working tree into every discovered modernpath location when
testing hooks or another repository:
scripts/install-local.shBuild release archives with:
scripts/build-all.sh [version]Source layout:
| Path | Purpose |
|---|---|
cmd/ |
Cobra command registration and behavior |
internal/api/ |
HTTP client and wire types |
internal/config/ |
Repository-local bindings and credentials |
internal/rdd/ |
Requirement-driven record extraction and operation building |
internal/opschema/ |
Embedded synchronization schema and validation |
internal/kit/ |
Embedded process package installation |
scripts/ |
Local installation, release packaging, and process-asset refresh |
Run modernpath --help from the built binary to inspect the registered command
tree. Behavioral documentation must be checked against cmd/*.go and the
server controllers cited by the canonical guide.
Reverse-engineered baseline evidence is reviewed through ordinary requirement
verification and the selected Epic's normal completion review. Verification
does not change requirement content or lifecycle; completion follows the
server-backed Epic process described in ../.modernpath/rdd/PROCESS.md. See the
canonical CLI guide for the commands currently shipped by this source tree.