Co-authored-by: Nilton Constantino <nilton.constantino@visma.com> Reviewed-on: #5
17 lines
887 B
Markdown
17 lines
887 B
Markdown
# PROMETEU CLI (Dispatcher)
|
|
|
|
The `prometeu` binary acts as the unified front-end for the ecosystem. It does not implement the execution or compilation logic but knows where to find the binaries that do.
|
|
|
|
## Commands
|
|
|
|
- `prometeu run <cart>`: Runs a cartridge using the available runtime.
|
|
- `prometeu debug <cart> [--port <p>]`: Starts execution in debug mode.
|
|
- `prometeu build <projectDir>`: Calls the `prometeuc` compiler.
|
|
- `prometeu verify c <projectDir>`: Calls the `prometeuc` compiler.
|
|
- `prometeu pack <cartDir>`: (Planned) Calls the `prometeup` packager.
|
|
- `prometeu verify p <cartDir>`: (Planned) Calls the `prometeup` packager.
|
|
|
|
## How it works
|
|
|
|
The dispatcher locates sibling binaries (`prometeu-runtime-desktop`, `prometeuc`, etc.) in the same directory where it is installed. It inherits `stdin`, `stdout`, and `stderr`, and propagates the exit code of the called process.
|