website/docs/commands/check.mdx
import VersionLabel from '@site/src/components/Docs/VersionLabel';
The moon check [...projects] (or moon c) command will run all
build and test tasks for one or many projects. This is a convenience
command for verifying the current state of a project, instead of running multiple
moon run commands.
# Check project by name
$ moon check app
# Check multiple projects by name
$ moon check client server
# Check closest project from current working directory
$ moon check --closest
# Check ALL projects (may be costly)
$ moon check --all
[...id] - List of project IDs or aliases to explicitly check, as defined in
projects.Inherits all options from moon exec, and pre-fills with: --on-failure=bail,
--upstream=deep.
--all - Run check for all projects in the workspace.--closest - Run check for the closest project starting from the current working directory.