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

feat: improve default subcommand #317

Merged
merged 1 commit into from
Apr 13, 2024
Merged

feat: improve default subcommand #317

merged 1 commit into from
Apr 13, 2024

Conversation

sigoden
Copy link
Owner

@sigoden sigoden commented Apr 13, 2024

  1. The help for parent command contains the parameters of the default subcommand.
  2. If no arguments are passed, the default subcommand is executed instead of printing help.
  3. It is possible to pass flags/options to the default subcommand.

@sigoden sigoden merged commit d3b3fcf into main Apr 13, 2024
3 checks passed
@sigoden sigoden deleted the feat-default-subcommand branch April 13, 2024 06:43
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