Skip to content
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

exp init: ask for command before paths #6872

Merged
merged 1 commit into from
Nov 2, 2021

Conversation

skshetry
Copy link
Member

@skshetry skshetry commented Oct 26, 2021

This changes the ordering of prompts, now it'll ask for command first before showing the workspace tree and prompts for the paths.

This is an RFC PR. I find it a bit confusing as it seems to break the linear flow of the prompts. I have yet another suggestion to move this prompt to the end. cc @dberenbaum @daavoo

Part of #6446.

Before this PR

asciicast

After this PR

asciicast

Alternative

asciicast

@skshetry skshetry added the A: experiments Related to dvc exp label Oct 26, 2021
@skshetry skshetry requested a review from a team as a code owner October 26, 2021 12:19
@skshetry skshetry self-assigned this Oct 26, 2021
@skshetry skshetry requested a review from efiop October 26, 2021 12:19
@dberenbaum
Copy link
Collaborator

Thanks for putting this together! I'm fine with whatever you think is best.

@skshetry
Copy link
Member Author

skshetry commented Nov 2, 2021

Okay, thinking about it more, I am not very sure about this. The command at the start makes more sense given the fact that all of the paths are the effect of it. It might be easier for us to even ask users the follow-up questions. But I still find it a bit confusing as the text jumps a few line after asking for the command.

So, I'd say let's go with the command at the first, and we can see what the feedbacks will be from other members, and we can adjust that later.

@skshetry skshetry merged commit 03b372a into iterative:master Nov 2, 2021
@skshetry skshetry deleted the exp-init-command-before-path branch November 2, 2021 23:38
@efiop efiop added the enhancement Enhances DVC label Nov 5, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A: experiments Related to dvc exp enhancement Enhances DVC
Projects
No open projects
Archived in project
Development

Successfully merging this pull request may close these issues.

3 participants