Skip to content
Navigation Menu
Sign in
Products
Platform
GitHub
Repository hosting, code review, and collaboration
Copilot
AI coding agent for tasks, projects and automated work
Build & Ship
Actions
CI/CD and automation
Code Quality
Quality analysis, fixes, and enforcement
Codespaces
Cloud development environments
Secure
Code Security
Vulnerability detection and remediation
Secret Protection
Secret scanning and leak prevention
All Features
Developers
Learn
Documentation
Training
Certifications
Build
Build with Copilot
Customize Copilot
Integrations
Explore
Trending repos
GitHub Sponsors
Events
Changelog
Changelog
Your source for the latest features, improvements, and fixes across GitHub products, all in one place.
Businesses
By Stage
Enterprises
Team
Startups
Nonprofits
By Industry
Healthcare
Financial services
Manufacturing
Government
See all industries
Evaluate GitHub
Why GitHub
Customer Stories
Business insights
Trust Center
Add-ons
GitHub Advanced Security
Enterprise-grade code security
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Resources
Learn & Connect
Documentation
Resource center
Blog
Events & webinars
Community Forum
Customer Stories
Integrations
Support
Customer support
Training
GitHub Status
Company
About
Partners
Changelog
GitHub Universe
GitHub Universe
The event for developers, by developers — talks, workshops, and what’s next for GitHub.
Pricing
Search
/
Sign in
Sign up
Appearance settings
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
{{ message }}
python-cmd2
cmd2
Repository navigation
Code
Issues
6
(6)
Pull requests
3
(3)
Discussions
Actions
Projects
Security and quality
Insights
More
items
Refactor argparse custom
- #1621
#1621
Merged
kmvanbrunt
merged 14 commits into
main
python-cmd2/cmd2:main
from
refactor_argparse_custom
python-cmd2/cmd2:refactor_argparse_custom
Copy head branch name to clipboard
Apr 1, 2026
Conversation
Commits
14
(14)
Checks
Files changed
Merged
Refactor argparse custom
#1621
kmvanbrunt
merged 14 commits into
main
python-cmd2/cmd2:main
from
refactor_argparse_custom
python-cmd2/cmd2:refactor_argparse_custom
Copy head branch name to clipboard
Commits
Commits on Mar 30, 2026
Require devs to use Cmd2ArgumentParser-based parsers.
kmvanbrunt
committed
41be698
View commit details
Copy full SHA for 41be698
Browse repository at this point
Moved _get_nargs_pattern and _match_argument overrides into Cmd2ArgumentParser.
kmvanbrunt
committed
52f6a3d
View commit details
Copy full SHA for 52f6a3d
Browse repository at this point
Commits on Mar 31, 2026
Moved _check_value() override to Cmd2ArgumentParser.
Show description for 403210a
kmvanbrunt
committed
403210a
View commit details
Copy full SHA for 403210a
Browse repository at this point
Renamed two patch functions.
kmvanbrunt
committed
b1e07db
View commit details
Copy full SHA for b1e07db
Browse repository at this point
Commits on Apr 1, 2026
Simplified creation of cmd2-specific argparse.Action attributes.
kmvanbrunt
committed
28a4891
View commit details
Copy full SHA for 28a4891
Browse repository at this point
Renamed patch function again.
kmvanbrunt
committed
2c8354a
View commit details
Copy full SHA for 2c8354a
Browse repository at this point
Simplified some error checks.
kmvanbrunt
committed
c516fa6
View commit details
Copy full SHA for c516fa6
Browse repository at this point
Made common prefix for all custom cmd2 attributes.
kmvanbrunt
committed
2d2319b
View commit details
Copy full SHA for 2d2319b
Browse repository at this point
Merge branch 'main' into refactor_argparse_custom
kmvanbrunt
committed
77b8794
View commit details
Copy full SHA for 77b8794
Browse repository at this point
Fixing linting error.
kmvanbrunt
committed
d336c38
View commit details
Copy full SHA for d336c38
Browse repository at this point
Added test coverage.
kmvanbrunt
committed
8049aef
View commit details
Copy full SHA for 8049aef
Browse repository at this point
Correcting grammar.
kmvanbrunt
committed
187b8ec
View commit details
Copy full SHA for 187b8ec
Browse repository at this point
Improved error handling in register_argparse_argument_parameter().
kmvanbrunt
committed
5ec21a5
View commit details
Copy full SHA for 5ec21a5
Browse repository at this point
Checking for Cmd2ArgumentParser instance in _build_parser().
kmvanbrunt
committed
95be12b
View commit details
Copy full SHA for 95be12b
Browse repository at this point
You can’t perform that action at this time.