Skip to content

Standardized command/subcommand naming and metadata#1670

Draft
kmvanbrunt wants to merge 3 commits into
mainfrom
ap_command_spec
Draft

Standardized command/subcommand naming and metadata#1670
kmvanbrunt wants to merge 3 commits into
mainfrom
ap_command_spec

Conversation

@kmvanbrunt
Copy link
Copy Markdown
Member

  • Consistently use full words COMMAND and SUBCOMMAND over abbreviations
  • Rename cmd2_subcmd_handler to cmd2_subcommand_func for consistency
  • Consolidate command metadata into ApCommandSpec dataclass
  • Simplify subcommand examples by using required=True for subparsers

- Consistently use full words COMMAND and SUBCOMMAND over abbreviations
- Rename cmd2_subcmd_handler to cmd2_subcommand_func for consistency
- Consolidate command metadata into ApCommandSpec dataclass
- Simplify subcommand examples by using required=True for subparsers
@kmvanbrunt kmvanbrunt requested a review from tleonhardt as a code owner May 28, 2026 02:06
@codecov
Copy link
Copy Markdown

codecov Bot commented May 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 99.57%. Comparing base (e2c061c) to head (34d5f3d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1670      +/-   ##
==========================================
+ Coverage   99.53%   99.57%   +0.04%     
==========================================
  Files          22       22              
  Lines        4928     4930       +2     
==========================================
+ Hits         4905     4909       +4     
+ Misses         23       21       -2     
Flag Coverage Δ
unittests 99.57% <100.00%> (+0.04%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@kmvanbrunt kmvanbrunt marked this pull request as draft May 28, 2026 03:49
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.

1 participant