Bug Report
Help output indicates targets are optional, but an error is thrown if not provided:
λ dvc plots show -h
usage: dvc plots show [-h] [-q | -v] [-t [TEMPLATE]] [-o OUT] [-x X] [-y Y] [--no-csv-header] [--show-json] [--title TITLE] [--xlab XLAB]
[--ylab YLAB]
[targets [targets ...]]
...
positional arguments:
targets Metrics files to visualize. Shows all plots by default.
λ dvc plots show
ERROR: Datafile or template is not specified.
Please provide information about your setup
DVC 1.0.0a6+283718
Bug Report
Help output indicates
targetsare optional, but an error is thrown if not provided:I assume targets are indeed required so they should be printed without[]in the usage, and the param description should not read "Shows all plots by default."UPDATE: Improve the error message when there are no plots in the workspace.
Also note that the error uses the term "Datafile" which is confusing as it's no longer the name of the argument — Let's probably review this term all over the code base, not just in this one message?
Please provide information about your setup
DVC 1.0.0a6+283718