mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-12-05 15:28:28 +01:00
* Work in progress * added file parsing and name validation + adjust schema * Exceptions on bad input * Support multiple parameters * Support multi 's in Having any troubles? Hit us up at https://dvc.org/support, we are always happy to help! * Restyled by black Co-authored-by: elgehelge <[email protected]> Co-authored-by: Restyled.io <[email protected]>
This commit is contained in:
co-authored by
elgehelge
Restyled.io
parent
caf5b931b9
commit
65d22c7dbd
@@ -40,6 +40,7 @@ class CmdRun(CmdBase):
|
||||
metrics=self.args.metrics,
|
||||
metrics_no_cache=self.args.metrics_no_cache,
|
||||
deps=self.args.deps,
|
||||
params=self.args.params,
|
||||
fname=self.args.file,
|
||||
cwd=self.args.cwd,
|
||||
wdir=self.args.wdir,
|
||||
@@ -111,6 +112,13 @@ def add_parser(subparsers, parent_parser):
|
||||
help="Declare output file or directory "
|
||||
"(do not put into DVC cache).",
|
||||
)
|
||||
run_parser.add_argument(
|
||||
"-p",
|
||||
"--params",
|
||||
action="append",
|
||||
default=[],
|
||||
help="Declare parameter to use as additional dependency.",
|
||||
)
|
||||
run_parser.add_argument(
|
||||
"-m",
|
||||
"--metrics",
|
||||
|
||||
Reference in New Issue
Block a user