moon project [id] (or moon p) command displays comprehensive information about a project that has been configured and exists within the graph. If a project does not exist, the program will return with a 1 exit code.
Synopsis
Arguments
[id]- ID or alias of a project, as defined inprojects. If not provided, you’ll be prompted to select from available projects.
Options
| Option | Type | Description |
|---|---|---|
--json | boolean | Print the project and its configuration as JSON |
--no-tasks | boolean | Do not include tasks in output |
Example output
The following output is an example of what this command prints, using a sample project:JSON output
Use the--json flag to output the full project configuration as JSON:
Usage examples
Inspect a project by ID
Inspect a project by alias
View project without tasks
Export project configuration as JSON
Related commands
moon projects- List all projects in the workspacemoon project-graph- Visualize project dependenciesmoon task- Display information about a specific task