mirror of
https://github.com/dexoron/dcr.git
synced 2026-10-21 12:58:34 +00:00
754 B
754 B
Global options
dcr --help
dcr --help
Prints top-level CLI usage, commands, flags, and examples.
dcr --version
dcr --version
Prints:
dcr <version> (<target>)
dcr --update
dcr --update
Update flow:
- Requests latest release from GitHub API.
- Finds asset matching current
DCR_TARGET. - Downloads replacement binary.
- Replaces current executable via
self-replace.
Limitations and behavior:
- No extra arguments are accepted.
- Requires network access to GitHub API/assets.
- On Linux, if binary is owned by pacman, DCR prints package-manager update instructions instead of self-updating.
Running without command
Running plain dcr (without arguments) shows help output.