Skip to content

Subcommand fallthrough - #1073

Merged
phlptp merged 9 commits into
CLIUtils:mainfrom
phlptp:subcommand_fallthrough
Oct 9, 2024
Merged

phlptp merged 9 commits into
CLIUtils:mainfrom
phlptp:subcommand_fallthrough

Conversation

@phlptp

@phlptp phlptp commented Oct 7, 2024

Copy link
Copy Markdown
Collaborator

Add modifier for subcommands to restrict subcommands falling through to parent.
This will resolve #1022

@codecov

codecov Bot commented Oct 7, 2024 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.00%. Comparing base (e4ee3af) to head (881a843).
Report is 41 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##              main     #1073     +/-   ##
===========================================
  Coverage   100.00%   100.00%             
===========================================
  Files           17        17             
  Lines         4546      4688    +142     
  Branches         0      1007   +1007     
===========================================
+ Hits          4546      4688    +142     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@phlptp
phlptp requested a review from henryiii October 7, 2024 20:02
@phlptp

phlptp commented Oct 8, 2024

Copy link
Copy Markdown
Collaborator Author

This also fixes some of the cmake build jobs that were failing from a recent update in that github action.

@phlptp

phlptp commented Oct 8, 2024

Copy link
Copy Markdown
Collaborator Author

Unless I hear some objections/suggestions I will merge this tomorrow morning.

@phlptp
phlptp merged commit ca66827 into CLIUtils:main Oct 9, 2024
@phlptp
phlptp deleted the subcommand_fallthrough branch October 9, 2024 11:46
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.

Positional is treated as a sub-command

2 participants