-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
stage: Rename some commands as stage subcommands. #7136
Comments
To be honest, I haven't been a fan of subcommands, as it takes too much effort to type. Reading through https://clig.dev/#subcommands, it does seem to encourage subcommands for complex software (which is not very clear here):
|
I think it makes sense to split commands that can be currently used for different things ( For others where there is a single purpose (i.e.
This one doesn't make much sense to me. |
To reduce typing, there is an alias facility in every shell. One can define a These commands are infrequent commands. In these cases, remembering / looking up the command becomes more important than to type. Actually I'm also not a big fan of subcommands but we have an irregular interface: We have |
|
I understand now. Could |
Yes, it could be |
ping about this 🔔 😄 Regardless1 of 3.0 release - where does this stand? Footnotes
|
While I like the idea and feel the same pain that the CLI feels disorganized, and the proposal makes sense from a logical perspective, I see it as primarily an internal pain. Other than the Let's not tie it to 3.0, but why don't we start introducing aliases in the subcommands if this is the direction we want to go, and we can worry about dropping the top-level commands later? |
Thanks @dberenbaum
Yes, no specific need to tie to 3.0 or urgency, but I hope we won't actually wait for user to yell about such things. if we agree that some experiences are better, or some structure makes sense... we need to make it easier to learn, not just easier to retain your knowledge if you're already a user.
soft deprecation + aliases 😄 |
@omesser Maybe a first step should even to be do a very rough docs draft (not bothering with updating all old links etc.) to see how it simplifies things and whether it feels impactful enough to prioritize. |
Very minor suggestion would be to add a |
I'm sure this idea has mentioned in several different places but I couldn't find an issue that collects all stage related commands under
dvc stage
The following commands may be renamed:
dvc stage freeze
dvc unfreeze
todvc stage unfreeze
dvc remove
can be split intodvc stage remove
anddvc data remove
dvc dag
todvc stage dag
ordvc stage graph
dvc repro
todvc stage repro
ordvc stage run
The current ones can be deprecated for the next major release (3.0), and removed in the following major release (4.0).
Might be related to #7093
The text was updated successfully, but these errors were encountered: