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.
E.g.
$ dvc run featurize \
-d data/clean,feats.py \
-p f.range,f.limit \
-o data/feats,data/map.csv \
/feats.py
The current minimal use of
dvc runrequires both--name/-n(option) and acommand(argument). I believe-nis 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.pyWe'd may need to keep
-naround (as an option to thenamearg) for backward compatibility, though.Another idea is to allow
-d/--depsand-o/--outsto accept several option args, to avoid repeating the flags. This already applies to-p/--params, via commas.E.g.