mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 16:19:37 +00:00
- Workspace support (`[workspace]` with deps ordering) - `clean --all` for workspace members Changed: - Project root discovery for `build/run/clean` (searches parent dirs) - Workspace paths are excluded from root source scan - Build output now uses a Cargo-style `Compiling <name> v<version>` line - Build time now reports total time for the whole build stage (workspace included) - Cache hits are silent (no compile line when nothing is rebuilt) - Safer build cache: fingerprints include headers and resolved library files
27 lines
574 B
Markdown
27 lines
574 B
Markdown
# CLI reference
|
|
|
|
## Command list
|
|
|
|
```text
|
|
dcr new <name>
|
|
dcr init
|
|
dcr build [--debug|--release]
|
|
dcr run [--debug|--release]
|
|
dcr clean [--debug|--release] [--all]
|
|
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 `--debug|--release` and optional `--all`.
|
|
|
|
## Exit behavior overview
|
|
|
|
- Successful command execution returns `0`.
|
|
- Validation/build/runtime errors return non-zero status.
|