You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
why: The create_parser function was over-engineered with complex overloads
and dictionary returns when a simple tuple would suffice.
what:
- Remove get_all_subparsers parameter and its complex overload
- Return simple tuple (parser, subparsers_tuple) instead of dictionary
- Use direct tuple unpacking in cli() function
- Remove unnecessary dictionary lookups for subparsers
- Maintain backward compatibility with existing return pattern
This follows the existing vcspull pattern of keeping things simple and
direct rather than adding unnecessary abstraction layers.
0 commit comments