zuixinwang
zuixinwang
Aha, I move the update code to the top of the main function. 😃 Can this PR be merged? 👀 @segunadebayo
When checking one node, all descendants' selected states should be recalculated, and all ancestors' indeterminate states and selected states should be recalculated too. https://github.com/epicmaxco/vuestic-ui/blob/32e8f62b49c277f15561adcab2b8ae02eefc6590/packages/ui/src/components/va-tree-view/hooks/useTreeView.ts#L77
Can you provide a reproduction please 😄
Maybe it should not have positional args if subCommands exist Should it have a validation?
Good idea. Maybe unbuild should have better development documentation first. 🐕
The positional arg should be placed before other args and should not exceed one If there is more than one, only one positional arg should be retained, and the rest...
I think a default subcommand is unnecessary because, without it, the main command would run 👀 Perhaps it's a good idea not to run the run function of the main...
it's a good idea, but the help output should also be considered
 maybe you can call the `generateArgs` function to do this outside `citty`