Co-authored-by: Nilton Constantino <nilton.constantino@visma.com> Reviewed-on: #5
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 theprometeuccompiler.prometeu verify c <projectDir>: Calls theprometeuccompiler.prometeu pack <cartDir>: (Planned) Calls theprometeuppackager.prometeu verify p <cartDir>: (Planned) Calls theprometeuppackager.
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.