anton-rs / op-up

Composable OP Stack Orchestration
https://stack.anton.systems
MIT License
41 stars 2 forks source link

CLI Subcommands #17

Open refcell opened 12 months ago

refcell commented 12 months ago

Description

Currently, the opup cli binary directly runs the op stack "devnet". It should be extended to accept Subcommands inside the Args struct, and then dispatch to the subcommand logic based on the selection. When no subcommand is provided, an inquire prompt should confirm that the user wants to run a stack based on the local stack.toml config file or environment variables + defaults if none is present. This prompt should not be shown when the up subcommand is passed into the cli.

For a subcommand reference implementation, see the reth binary.

Task List