fix: Remove interactive prompt on startup #11
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
in-progress
invalid
pull-request
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
vxfemboy/purrcrypt!11
Loading…
Reference in a new issue
No description provided.
Delete branch "helldrum/fix/remove-interactive-prompt"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Previously, the application would show an interactive prompt to select a dialect (cat or dog) on the first run, even when running non-interactive commands like --help.
This was caused by the ConfigManager initializing the configuration interactively when the config file was not found.
This commit fixes the issue by making the configuration initialization non-interactive. A default configuration file is now created automatically if it doesn't exist. The user can change the dialect using the 'set-dialect' command.
also fix import error during build .
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.