Run Command

Run a script by name defined in the workspace root pubspec.yaml config file.

melos run <name>

--no-select

Skips the prompt to select a package (if defined in the script configuration). Filters defined in the script's "packageFilters" options will however still be applied.

melos run <name> --no-select

--list

Displays all scripts defined in the Melos workspace.

melos run --list

Use --json to output the list in JSON format.

melos run --list --json