fix: Remove interactive prompt on startup #11

Open
helldrum wants to merge 1 commit from helldrum/fix/remove-interactive-prompt into OwO-Whats-This
helldrum commented 2025-09-05 12:55:39 +00:00 (Migrated from github.com)

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 .

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 .
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin helldrum/fix/remove-interactive-prompt:helldrum/fix/remove-interactive-prompt
git switch helldrum/fix/remove-interactive-prompt

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.

git switch OwO-Whats-This
git merge --no-ff helldrum/fix/remove-interactive-prompt
git switch helldrum/fix/remove-interactive-prompt
git rebase OwO-Whats-This
git switch OwO-Whats-This
git merge --ff-only helldrum/fix/remove-interactive-prompt
git switch helldrum/fix/remove-interactive-prompt
git rebase OwO-Whats-This
git switch OwO-Whats-This
git merge --no-ff helldrum/fix/remove-interactive-prompt
git switch OwO-Whats-This
git merge --squash helldrum/fix/remove-interactive-prompt
git switch OwO-Whats-This
git merge --ff-only helldrum/fix/remove-interactive-prompt
git switch OwO-Whats-This
git merge helldrum/fix/remove-interactive-prompt
git push origin OwO-Whats-This
Sign in to join this conversation.
No description provided.