mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-04 23:10:46 +01:00
repro: implement downstream option (#1926)
* repro: implement downstream option Close #1555 * Update scripts/completion/dvc.zsh Co-Authored-By: mroutis <[email protected]> * Update dvc/command/repro.py Co-Authored-By: mroutis <[email protected]>
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
44e20f1aa8
commit
c0104e2e61
@@ -39,6 +39,7 @@ class CmdRepro(CmdBase):
|
||||
all_pipelines=self.args.all_pipelines,
|
||||
ignore_build_cache=self.args.ignore_build_cache,
|
||||
no_commit=self.args.no_commit,
|
||||
downstream=self.args.downstream,
|
||||
)
|
||||
|
||||
if len(stages) == 0:
|
||||
@@ -140,4 +141,10 @@ def add_parser(subparsers, parent_parser):
|
||||
default=False,
|
||||
help="Don't put files/directories into cache.",
|
||||
)
|
||||
repro_parser.add_argument(
|
||||
"--downstream",
|
||||
action="store_true",
|
||||
default=False,
|
||||
help="Reproduce the pipeline starting from the specified stage.",
|
||||
)
|
||||
repro_parser.set_defaults(func=CmdRepro)
|
||||
|
||||
Reference in New Issue
Block a user