-
Notifications
You must be signed in to change notification settings - Fork 1.3k
dvc: update cmd output strings to match docs #3471
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
Changes from all commits
8b2dca0
e82952a
fb139ff
5c4f4ad
e3c087e
1a970c6
f5cda0d
6526c09
d5f2ffe
f262f48
47090e7
3776104
b6f9cc1
1074e21
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -175,7 +175,7 @@ def add_parser(subparsers, parent_parser): | |
|
|
||
| fix_subparsers(pipeline_subparsers) | ||
|
|
||
| PIPELINE_SHOW_HELP = "Show pipelines." | ||
| PIPELINE_SHOW_HELP = "Show stages in a pipeline." | ||
| pipeline_show_parser = pipeline_subparsers.add_parser( | ||
| "show", | ||
| parents=[parent_parser], | ||
|
|
@@ -231,7 +231,7 @@ def add_parser(subparsers, parent_parser): | |
| ) | ||
| pipeline_show_parser.set_defaults(func=CmdPipelineShow) | ||
|
|
||
| PIPELINE_LIST_HELP = "List pipelines." | ||
| PIPELINE_LIST_HELP = "List connected groups of stages (pipelines)." | ||
|
Contributor
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. Why are we making this clarification here, but not in other places?
Contributor
Author
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. Good question. Again, this is to match docs, https://dvc.org/doc/command-reference/pipeline/list specifically.
The only other place really is pipeline show which reads "Show stages in a pipeline." This one also mentions both terms "stage" and "pipeline" so it's similarly clear, I think. |
||
| pipeline_list_parser = pipeline_subparsers.add_parser( | ||
| "list", | ||
| parents=[parent_parser], | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -100,7 +100,7 @@ def run(self): | |
| def add_parser(subparsers, parent_parser): | ||
| from dvc.command.config import parent_config_parser | ||
|
|
||
| REMOTE_HELP = "Manage remote storage configuration." | ||
| REMOTE_HELP = "Set up and manage data remotes." | ||
| remote_parser = subparsers.add_parser( | ||
| "remote", | ||
| parents=[parent_parser], | ||
|
|
@@ -116,7 +116,7 @@ def add_parser(subparsers, parent_parser): | |
|
|
||
| fix_subparsers(remote_subparsers) | ||
|
|
||
| REMOTE_ADD_HELP = "Add remote." | ||
| REMOTE_ADD_HELP = "Add a new data remote." | ||
|
Contributor
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. Are we sure we need
Contributor
Author
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. Sorry to repeat the same answer haha but just matching docs here (https://dvc.org/doc/command-reference/remote/add). For consistency, we use the term "data remote" in remote subcommands cmd refs (not in other docs though). This is kind of arbitrary, I agree on that. Would you prefer a different standard? Happy to update everywhere. |
||
| remote_add_parser = remote_subparsers.add_parser( | ||
| "add", | ||
| parents=[parent_config_parser, parent_parser], | ||
|
|
@@ -147,7 +147,7 @@ def add_parser(subparsers, parent_parser): | |
| ) | ||
| remote_add_parser.set_defaults(func=CmdRemoteAdd) | ||
|
|
||
| REMOTE_DEFAULT_HELP = "Set/unset default remote." | ||
| REMOTE_DEFAULT_HELP = "Set/unset the default data remote." | ||
| remote_default_parser = remote_subparsers.add_parser( | ||
| "default", | ||
| parents=[parent_config_parser, parent_parser], | ||
|
|
@@ -167,7 +167,7 @@ def add_parser(subparsers, parent_parser): | |
| ) | ||
| remote_default_parser.set_defaults(func=CmdRemoteDefault) | ||
|
|
||
| REMOTE_REMOVE_HELP = "Remove remote." | ||
| REMOTE_REMOVE_HELP = "Remove a data remote." | ||
| remote_remove_parser = remote_subparsers.add_parser( | ||
| "remove", | ||
| parents=[parent_config_parser, parent_parser], | ||
|
|
@@ -180,7 +180,7 @@ def add_parser(subparsers, parent_parser): | |
| ) | ||
| remote_remove_parser.set_defaults(func=CmdRemoteRemove) | ||
|
|
||
| REMOTE_MODIFY_HELP = "Modify remote." | ||
| REMOTE_MODIFY_HELP = "Modify the configuration of a data remote." | ||
| remote_modify_parser = remote_subparsers.add_parser( | ||
| "modify", | ||
| parents=[parent_config_parser, parent_parser], | ||
|
|
@@ -204,7 +204,7 @@ def add_parser(subparsers, parent_parser): | |
| ) | ||
| remote_modify_parser.set_defaults(func=CmdRemoteModify) | ||
|
|
||
| REMOTE_LIST_HELP = "List available remotes." | ||
| REMOTE_LIST_HELP = "List all available data remotes." | ||
| remote_list_parser = remote_subparsers.add_parser( | ||
| "list", | ||
| parents=[parent_config_parser, parent_parser], | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -57,7 +57,8 @@ def run(self): | |
|
|
||
|
|
||
| def add_parser(subparsers, parent_parser): | ||
| REPRO_HELP = "Check for changes and reproduce stages and dependencies." | ||
| REPRO_HELP = "Reproduce complete or partial pipelines" | ||
| " by executing their stages." | ||
|
Contributor
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. maybe
Contributor
Author
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. Since we have |
||
| repro_parser = subparsers.add_parser( | ||
| "repro", | ||
| parents=[parent_parser], | ||
|
|
||
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.
Not sure
pullandfetchhelp messages are different enough now. But it is definitely not worse.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.
Good point. I'm just copying from https://dvc.org/doc/command-reference/fetch and https://dvc.org/doc/command-reference/pull here. This whole PR is about matching docs which I think is desirable but if not, please lmk!