Skip to content

Update CLI help text and default to single mode if no mode is specified #55

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

Merged
merged 1 commit into from
Sep 1, 2024

Conversation

catatsuy
Copy link
Owner

@catatsuy catatsuy commented Sep 1, 2024

This pull request includes updates to the internal/cli/cli.go file to improve the user experience and error handling for the CLI tool. The most important changes involve setting default modes and refining error messages.

User experience improvements:

  • internal/cli/cli.go: Marked the single mode as the default option in the flag description.
  • internal/cli/cli.go: Added logic to default to single mode if neither single nor multi mode is specified.

Error handling improvements:

  • internal/cli/cli.go: Updated the error message to clarify that both multi and single modes cannot be specified simultaneously.

@catatsuy catatsuy merged commit d6fda65 into main Sep 1, 2024
5 checks passed
@catatsuy catatsuy deleted the feature-update-single-mode-default-in-cli branch September 1, 2024 05:36
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

Successfully merging this pull request may close these issues.

1 participant