feat(bin): Clean Subcommand #20
Labels
A-bin
Area: Binary related
alpha
C-feature
Category: Features
M-good-first-issue
Meta: Good first issue
Description
As part of #17, this task is to introduce a new
clean
subcommand toop-up
that cleans stack artifacts and any additional generated files.The logic of cleaning a stack based on the config should be abstracted into the Stage Manager orchestrator (doesn't exist yet). This allows the
opup
cli binary to build the stage manager from the config, and then be able to clean the stack via a simpleclean() -> eyre::Result<()>
call.For example
The logic behind building a stage manager orchestrator from the stack config is so that it can handle finding existing running stack components based on the configuration. This separates concerns whereby the stack configuration solely handles component and stack configuration while the stage manager can handle orchestrating the stack stages/components.
Since this logic should be minimal, it can be placed inside
cli.rs
alongside subcommand dispatching.The text was updated successfully, but these errors were encountered: