cli: add short alias for --show-{csv,json,md} (#6711)

As `--csv`/`--json`/`--md`
This commit is contained in:
Saugat Pachhai
2021-09-30 20:38:32 +05:45
committed by GitHub
parent cce6aed378
commit 9a1d74048a
17 changed files with 111 additions and 54 deletions
+3 -3
View File
@@ -42,8 +42,8 @@ def test_experiments_diff(dvc, scm, mocker):
"HEAD~1",
"--all",
"--param-deps",
"--show-json",
"--show-md",
"--json",
"--md",
"--old",
"--precision",
"10",
@@ -381,7 +381,7 @@ all_experiments = {
def test_show_experiments(capsys):
show_experiments(
all_experiments, precision=None, fill_value="", iso=True, show_csv=True
all_experiments, precision=None, fill_value="", iso=True, csv=True
)
cap = capsys.readouterr()
assert (