Skip to Content
Global Flags

Global Flags

These flags are available on all commands (project, issue, and milestone).

FlagShortDescription
--project-path <path>-pPath to project root. Default: auto-detect by walking up from cwd.
--format <fmt>-fOutput format: json (default), table
--quiet-qSuppress all output
--verbose-VEnable debug logging to stderr
--help-hShow help for command
--version-vShow CLI version

Project Path Resolution

All commands accept -p / --project-path <path> to specify the project root. If omitted, the CLI walks up from the current working directory looking for a .mdp/ folder.

Quiet Mode

--quiet suppresses all output. The command still executes and returns the appropriate exit code:

mdp issue update --id ISS-1 --status Done -q && echo "done"

Verbose Mode

--verbose enables detailed logging to stderr. Normal output still goes to stdout.

Stdin Support

Commands that accept a --body or --content flag also accept - as the value to read from stdin:

echo "## Description\nAuth module with JWT" | mdp issue create -t "Implement auth" --content -

Batch commands (batch-create, batch-update) read a JSON array directly from stdin — they do not use the --content - convention:

echo '[{ "title": "Fix login bug", "type": "bug" }]' | mdp issue batch-create
Last updated on