-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: show-md on params/metrics diff #1266
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,8 @@ commits in the <abbr>DVC repository</abbr>, or between a commit and the | |
```usage | ||
usage: dvc metrics diff [-h] [-q | -v] | ||
[--targets [<path> [<path> ...]]] | ||
[-t <type>] [-x <path>] [-R] [--show-json] | ||
[-t <type>] [-x <path>] [-R] | ||
[--show-json] [--show-md] | ||
[a_ref] [b_ref] | ||
|
||
positional arguments: | ||
|
@@ -63,6 +64,8 @@ They're calculated between two commits (hash, branch, tag, or any | |
- `--show-json` - prints the command's output in easily parsable JSON format, | ||
instead of a human-readable table. | ||
|
||
- `--show-md` - prints the command's output in Markdown table format. | ||
|
||
- `-h`, `--help` - prints the usage/help message, and exit. | ||
|
||
- `-q`, `--quiet` - do not write anything to standard output. Exit with 0 if no | ||
|
@@ -105,7 +108,7 @@ had in the previous commit: | |
|
||
``` | ||
$ dvc metrics diff | ||
Path Metric Value Change | ||
metrics.json TP 531 4 | ||
metrics.json AUC 0.967 0.003 | ||
Path Metric Value Change | ||
metrics.json TP 531 4 | ||
metrics.json AUC 0.967 0.003 | ||
Comment on lines
+111
to
+113
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The heading formats got affected by the change. Previously it was centered, it's left aligned now. |
||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this the actual order in which it's printed? I don't see this output in the core repo master branch yet. Thanks
This comment was marked as resolved.
Sorry, something went wrong.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, that's the order.
Note that we still need to readjust the docs for the
-t
and-x
on the metrics. But, I have tried to keep the order for alldvc {metrics,params} diff
.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like you're missing
[--all]
though.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll take care of it.