Skip to content

fix: remove default error action from plugin command #2027

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 2 commits into from
Apr 14, 2025

Conversation

bowd
Copy link
Contributor

@bowd bowd commented Mar 20, 2025

Summary

The plugin command was showing an error message when no subcommand was provided, which was not necessary since the command has valid subcommands (add, list, etc). This PR removes this default error action, allowing the command to properly handle subcommands and show the help message when no subcommand is specified.

Fixes: N/A

Other Information

This improves UX by making asdf plugin less error-y and more useful

@bowd bowd requested a review from a team as a code owner March 20, 2025 00:53
@bowd
Copy link
Contributor Author

bowd commented Mar 20, 2025

(It would be so funny if this was some sort of weird legacy thing that can't be changed)

@Stratus3D Stratus3D merged commit c376481 into asdf-vm:master Apr 14, 2025
8 checks passed
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.

2 participants