Skip to content

Change Mettada commands or documentation

The standalone entry point is packages/backend-laravel/bin/mettada; registered Symfony commands are also available through the Laravel service provider. Update the command implementation, its focused tests, and the relevant package README. The CLI reference is generated from live JSON help:

Terminal window
php packages/backend-laravel/bin/mettada list --format=json
php packages/backend-laravel/bin/mettada help mettada:sync --format=json
npm run docs:generate
npm run docs:check

The generated reference is committed in docs/developers/reference/. Do not hand-edit generated command or schema tables; change their source and regenerate.

Edit application-developer material only in docs/developers/ and maintainer/contributor material only in docs/maintainers/. Site shell and build tooling belong in docs/site/; its staged src/content/docs/ copy is generated and ignored.

Before review, run:

Terminal window
npm run docs:validate
npm run docs:smoke
npm run docs:build

Check route links, Markdown examples, shell readability, and the audience navigation. If changing the site design, check mobile layout and keyboard navigation in the built site.