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

Remove autoSetup flag #397

Open
masnax opened this issue Sep 12, 2024 · 0 comments
Open

Remove autoSetup flag #397

masnax opened this issue Sep 12, 2024 · 0 comments
Labels
Jira Allows the synchronization of a GitHub issue in Jira

Comments

@masnax
Copy link
Contributor

masnax commented Sep 12, 2024

In some cases, we want to skip interactive questioning and automatically pick a default. Currently there is a flag set on the initConfig to keep track of this, but the pattern for it is a bit confusing: You have to set it, run the function, and then unset it.

We can probably clean up this implementation by decoupling the detection and assignment from the user selection. That is to say, first set the default data, and then only in the interactive cases will we present other options to the user.

@masnax masnax added the Jira Allows the synchronization of a GitHub issue in Jira label Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Jira Allows the synchronization of a GitHub issue in Jira
Projects
None yet
Development

No branches or pull requests

1 participant