CLI Subcommands
Opened this issue · 0 comments
refcell commented
Description
Currently, the opup
cli binary directly runs the op stack "devnet". It should be extended to accept Subcommand
s 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.