Full moddef --help
The verbatim top-level help. See the command reference for each subcommand with examples.
The reference command-line tool (Go). Synced from its --help output.
moddef: ModDef tooling
usage:
moddef convert <in> <out> convert between .moddef.yaml/.json/.moddef
moddef lint <file> validate a document (rules: spec §30)
moddef inspect <file> print a human-readable summary
moddef build <in> [out] build .moddef binary (default: <in>.moddef)
moddef fmt [--check] <file> rewrite a document in canonical form
moddef gen --lang go --package <p> --input <f> [--out <file>]
generate a typed client/catalog
moddef pack <dir> [--out <zip>]
build a reusable package from a manifest
moddef lock <file> write moddef.lock pinning resolved imports