You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current minimal use of dvc run requires both --name/-n (option) and a command (argument). I believe -n is in fact one of the few or maybe the only required option in all of our commands. How about make it into a proper argument?
$ dvc run [--options] <name><command>
E.g.
$ dvc run train -d data -d train.py -o model python train.py
We'd may need to keep -n around (as an option to the name arg) for backward compatibility, though.
Another idea is to allow -d/--deps and -o/--outs to accept several option args, to avoid repeating the flags. This already applies to -p/--params, via commas.
@jorgeorpinel Great idea! We didn't do that yet because dvc run is too overloaded already and I hope that we will have something like dvc stage add(or something else) in the future, where it would have a more friendly interface. Let's keep this issue open for now.
Agree. dvc stage [--options] <name> <cmd> to create/update (maybe even --remove instead of dvc remove) stages, and separately dvc run to run/repro stages and pipelines seems ideal for the 1.0 era IMO (1.2 I guess).
The current minimal use of
dvc run
requires both--name/-n
(option) and acommand
(argument). I believe-n
is in fact one of the few or maybe the only required option in all of our commands. How about make it into a proper argument?$ dvc run [--options] <name> <command>
E.g.
$ dvc run train -d data -d train.py -o model python train.py
We'd may need to keep
-n
around (as an option to thename
arg) for backward compatibility, though.Another idea is to allow
-d/--deps
and-o/--outs
to accept several option args, to avoid repeating the flags. This already applies to-p/--params
, via commas.E.g.
The text was updated successfully, but these errors were encountered: