Support default command on mounted groups#97
Open
just-be-dev wants to merge 2 commits intowevm:mainfrom
Open
Conversation
…rting further subcommands
…ypegen, config, MCP Thread the `default` field through all remaining group consumers: - Completions: set default as leaf for option/arg completions - Skillgen/SyncSkills: emit default as leaf entry in skill files - Typegen: include default args/options for typed CTAs - configSchema: pass default options for config-file defaults - MCP: add fixture and tests for group with default 14 new tests across all affected files.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I'm creating a command generate that wraps around mise tasks. I may have a
linttask and alint:fixtask. As I'm trying to generate it, there would obviously be alintgroup but I wantlint fixto work too. Right now, a CLI withrunaction will be mounted as a leaf and silently discard any subcommands.I implemented this with the aid of Claude, but I've added tests here and I've got tests in my project to ensure it works how I expect. I'm not sure that I've covered all the places where updates would need to be made though.