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

Update init command to load existing configuration and prompt defined target paths as defaults #16

Open
andreiled opened this issue Dec 5, 2023 · 0 comments

Comments

@andreiled
Copy link
Owner

Problem Statement

If/when in future I add new configuration path options to the global auto-download configuration (stored in the user's directory) requiring to re-run the init command to initialize them, then it would be a bad user experience to have users re-enter all other paths already defined in the config.

Proposed behavior

The init command should load existing configuration if it exists and propose already defined paths as default values for the corresponding prompts. This should allow users to quickly skip through the prompts confirming their previous choices until they get to the point where init asks to specify the new paths.

Alternatively, or additionally, consider updating existing configuration using new answers while preserving any customizations that may have been manually made to the existing configuration instead of re-generating the whole configuration document from scratch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant