mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 12:18:30 +00:00
722 B
722 B
CLI reference
Command list
dcr new <name>
dcr init
dcr build [--debug|--release]
dcr run [--debug|--release]
dcr clean [--debug|--release] [--all]
dcr gen <subcommand>
dcr --help
dcr --version
dcr --update
Notes on argument parsing
build/runparse flags in any order (--debug|--release,--force,--clean) and reject duplicates.newrequires exactly one argument.initand--updatedo not accept extra arguments.cleanaccepts--debug|--releaseand optional--all.gensupportsproject-info,compile-commands,vscode,clion.
Exit behavior overview
- Successful command execution returns
0. - Validation/build/runtime failures return non-zero status.