Add --print-deps-only for computing dependencies

This commit is contained in:
Ashwin Bharambe 2025-01-31 14:31:13 -08:00
parent da46d98a63
commit 216cde5ee8
2 changed files with 28 additions and 11 deletions

View file

@ -63,6 +63,12 @@ environment is active, you must specify a name.
),
default=None,
)
self.parser.add_argument(
"--print-deps-only",
default=False,
action="store_true",
help="Print the dependencies for the stack only, without building the stack",
)
def _run_stack_build_command(self, args: argparse.Namespace) -> None:
# always keep implementation completely silo-ed away from CLI so CLI