mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 09:48:31 +00:00
27 lines
546 B
Markdown
27 lines
546 B
Markdown
# CLI reference
|
|
|
|
## Command list
|
|
|
|
```text
|
|
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.
|