Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to 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 }}
Uh oh!
There was an error while loading.
Please reload this page
.
python-cmd2
/
cmd2
Public
Notifications
You must be signed in to change notification settings
Fork
132
Star
688
Code
Issues
1
Pull requests
0
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
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.