turbo
857a5a6e - chore(Turborepo): Scope down opts needed by the visitor, remove run lifetime (#7032)

Commit
2 years ago
chore(Turborepo): Scope down opts needed by the visitor, remove run lifetime (#7032) ### Description Some refactoring on the path to separating `run`'s dependencies from the set of flags and config files the CLI uses. - Remove lifetime from `Run`, take ownership of `CommandBase`. This is a stepping stone, `CommandBase` will eventually not need to be part of the `Run` struct at all - Pair down the options handed over to the `Visitor`. Reducing the scope to just the `RunOpts` paves the way to cutting down on full CLI opts usage by the rest of the `run` code. No functional changes ### Testing Instructions Existing test suite Closes TURBO-2062 --------- Co-authored-by: Greg Soltis <Greg Soltis>
Author
Greg Soltis
Parents
Loading