Files
dcr/docs/reference-and-help/cli-reference.md
2026-02-26 18:09:07 +08:00

546 B

CLI reference

Command list

dcr new <name>
dcr init
dcr build [--debug|--release]
dcr run [--debug|--release]
dcr clean [--debug|--release]
dcr --help
dcr --version
dcr --update

Notes on argument parsing

  • Most commands parse profile from the first argument.
  • new requires exactly one argument.
  • init and --update do not accept extra arguments.
  • clean accepts at most one argument.

Exit behavior overview

  • Successful command execution returns 0.
  • Validation/build/runtime errors return non-zero status.