majordomus product validate
Every finding over the model; exit 10 when any is an error
majordomus product validate
Usage
majordomus product validate [OPTIONS]Arguments
| argument | value | default | description |
|---|---|---|---|
| --repo | <PATH> | — | Start the search for the repository root here (default: the current directory) (accepted by every subcommand) |
| --discovery | vcs | filesystem | vcs | How declarative files are enumerated (accepted by every subcommand)
|
| --strict | flag | — | Refuse to proceed when any file of the layer carries an error diagnostic (accepted by every subcommand) |
| --share | <DIR> | — | The tool distribution's share directory (kinds.yaml, schemas/); default: $MAJORDOMUS_SHARE, then the repository's own share/, then the one beside the executable (accepted by every subcommand) |
| --format | text | json | text | Output shape (accepted by every subcommand)
|
| --featured | flag | — | Only the features the homepage shows (accepted by every subcommand) |
| --all | flag | — | Include drafts and deprecated features, not only the stable ones (accepted by every subcommand) |
| --area | <AREA> | — | Only features serving this operational area of the why catalogue (accepted by every subcommand) |
| --module | <MODULE> | — | Only features made of this capability module (accepted by every subcommand) |
| --names-command | <NAMES_COMMAND> | — | Only features made of this shell command (accepted by every subcommand) |
| --surface | <SURFACE> | — | Only features exposed through this surface: cli, api, mcp, cockpit or docs (accepted by every subcommand) |
| -q, --query | <QUERY> | — | Case-insensitive text over identities, titles, headlines, summaries, tags and bodies (accepted by every subcommand) |
Examples
-
Check the model before anything projects it
A reference that resolves to nothing, with the nearest candidate; a duplicate identity; a file name that disagrees with its id; a draft that is featured; a stable feature under its floors; and every module, command or kind no feature names. Exit 10 on any error.
$ majordomus product validateVerified by the example tests: exits 0; prints feature(s), valid.
Where this comes from
Declared once in apps/majordomus-cli/src/cli.rs: clap for the structure, typed Rust metadata beside it for the examples. This page, majordomus product validate --help, docs/generated/cli.md and docs/generated/cli.json are projections of that one declaration.
The whole command line on one page: the registry's command-line page. The task lifecycle (init, start, finish, doctor, ...) belongs to the shell tool, a different program: Commands and its specification.