anton-rs / op-up

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

feat(bin): Up Subcommand #18

Closed refcell closed 11 months ago

refcell commented 12 months ago

Description

As part of #17, this task is to move the Stack logic in stack.rs to an up subcommand. Most of the time, op-up will be run without specifying this subcommand since it is redundant to execute op-up up.

The up subcommand itself should have a --devnet flag that can be used to override the local stack.toml and default config for a hard-coded devnet stack configuration.

Since this subcommand will have flags and some additional logic, it should be moved to a new up.rs file. So, just moving the contents of stack.rs to this new file and then dispatching the top-level cli.rs to this handler by default and when the up subcommand is provided.

merklefruit commented 11 months ago

Closed in #38