duplicate-ids

Ensure that there are no duplicate step and command IDs in your tests and modules. This is important for maintaining the integrity of your caches and avoiding conflicts during execution.

npx momentic check duplicate-ids

Options

--fix

Apply fixes to the duplicate IDs found. This will automatically rename the duplicate IDs to ensure uniqueness.

npx momentic check duplicate-ids --fix

duplicate-names

Check for duplicate names in your tests and modules. This helps to prevent confusion and ensures that each test and module are uniquely identified.

npx momentic check duplicate-names

config

Check your momentic.config.yaml for errors.

npx momentic check config

Options

-c, --config <config>

Path to the Momentic configuration file. If not specified, it defaults to momentic.config.yaml in the current directory.

npx momentic check config --config path/to/momentic.config.yaml