| route-pattern | /_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:84cf5579-0306-7f0a-c7ae-1b0fba103b8e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 8F38:2F6F91:71B050:A3A7DF:6A4CE1EF |
| html-safe-nonce | 396c2e56850bb65915b80b6953c3535af6d34124695a431e6009d1f2a333cb14 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjM4OjJGNkY5MTo3MUIwNTA6QTNBN0RGOjZBNENFMUVGIiwidmlzaXRvcl9pZCI6IjgzMzExOTU3MDUwNTg5NzYyMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 2bd82f80436c1a12f79fd77b24d10214b0ca201bdc4fdeb47161f9400a020e9f |
| hovercard-subject-tag | pull_request:3974236641 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-cmd2/cmd2/1705/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/7ab58ad7e15e81600414c26fccb0af01569d3d863a07f055919114272b305bd5/python-cmd2/cmd2/pull/1705 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7ab58ad7e15e81600414c26fccb0af01569d3d863a07f055919114272b305bd5/python-cmd2/cmd2/pull/1705 |
| og:image:alt | getting_started.py now demonstrates how to use both the @with_argparser and @with_annotated decorators for defining command arguments.
The intent is to help make the getting_started.py example some... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | tleonhardt |
| hostname | github.com |
| expected-hostname | github.com |
| None | 299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8 |
| turbo-cache-control | no-cache |
| go-import | github.com/python-cmd2/cmd2 git https://github.com/python-cmd2/cmd2.git |
| octolytics-dimension-user_id | 17161025 |
| octolytics-dimension-user_login | python-cmd2 |
| octolytics-dimension-repository_id | 51442999 |
| octolytics-dimension-repository_nwo | python-cmd2/cmd2 |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 51442999 |
| octolytics-dimension-repository_network_root_nwo | python-cmd2/cmd2 |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c5a57f04eeb310f57c73fd6d751d957e2ca27ed2 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/python-cmd2/cmd2/pull/1705#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmd2%2Fcmd2%2Fpull%2F1705 |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmd2%2Fcmd2%2Fpull%2F1705 |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=python-cmd2%2Fcmd2 |
| Reload | https://github.com/python-cmd2/cmd2/pull/1705 |
| Reload | https://github.com/python-cmd2/cmd2/pull/1705 |
| Reload | https://github.com/python-cmd2/cmd2/pull/1705 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
|
python-cmd2
| https://github.com/python-cmd2 |
| cmd2 | https://github.com/python-cmd2/cmd2 |
|
Notifications
| https://github.com/login?return_to=%2Fpython-cmd2%2Fcmd2 |
|
Fork
132
| https://github.com/login?return_to=%2Fpython-cmd2%2Fcmd2 |
|
Star
689
| https://github.com/login?return_to=%2Fpython-cmd2%2Fcmd2 |
|
Code
| https://github.com/python-cmd2/cmd2 |
|
Issues
0
| https://github.com/python-cmd2/cmd2/issues |
|
Pull requests
1
| https://github.com/python-cmd2/cmd2/pulls |
|
Discussions
| https://github.com/python-cmd2/cmd2/discussions |
|
Actions
| https://github.com/python-cmd2/cmd2/actions |
|
Projects
| https://github.com/python-cmd2/cmd2/projects |
|
Security and quality
0
| https://github.com/python-cmd2/cmd2/security |
|
Insights
| https://github.com/python-cmd2/cmd2/pulse |
|
Code
| https://github.com/python-cmd2/cmd2 |
|
Issues
| https://github.com/python-cmd2/cmd2/issues |
|
Pull requests
| https://github.com/python-cmd2/cmd2/pulls |
|
Discussions
| https://github.com/python-cmd2/cmd2/discussions |
|
Actions
| https://github.com/python-cmd2/cmd2/actions |
|
Projects
| https://github.com/python-cmd2/cmd2/projects |
|
Security and quality
| https://github.com/python-cmd2/cmd2/security |
|
Insights
| https://github.com/python-cmd2/cmd2/pulse |
| tleonhardt | https://github.com/tleonhardt |
| main | https://github.com/python-cmd2/cmd2/tree/main |
| getting_started_with_decorators | https://github.com/python-cmd2/cmd2/tree/getting_started_with_decorators |
| Conversation | https://github.com/python-cmd2/cmd2/pull/1705 |
| Commits8 (8) | https://github.com/python-cmd2/cmd2/pull/1705/commits |
| Checks | https://github.com/python-cmd2/cmd2/pull/1705/checks |
| Files changed | https://github.com/python-cmd2/cmd2/pull/1705/files |
| getting_started.py now demonstrates how to use common cmd2 deocrators | https://github.com/python-cmd2/cmd2/pull/1705#top |
| tleonhardt | https://github.com/tleonhardt |
| main | https://github.com/python-cmd2/cmd2/tree/main |
| getting_started_with_decorators | https://github.com/python-cmd2/cmd2/tree/getting_started_with_decorators |
|
| https://github.com/tleonhardt |
| tleonhardt | https://github.com/tleonhardt |
| Jul 1, 2026 | https://github.com/python-cmd2/cmd2/pull/1705#issue-4789643600 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
| #1704 | https://github.com/python-cmd2/cmd2/issues/1704 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
| tleonhardt | https://github.com/tleonhardt |
| July 1, 2026 15:31 | https://github.com/python-cmd2/cmd2/pull/1705#commits-pushed-2cce737 |
|
| https://github.com/tleonhardt |
| docs: Add design spec for updating getting_started.py with decorators | https://github.com/python-cmd2/cmd2/pull/1705/commits/2cce73796cb0bfedeca11873bbcf5c01ea7ef5ee |
| 2cce737 | https://github.com/python-cmd2/cmd2/pull/1705/commits/2cce73796cb0bfedeca11873bbcf5c01ea7ef5ee |
|
| https://github.com/tleonhardt |
| examples: Update getting_started.py with with_annotated and with_argp… | https://github.com/python-cmd2/cmd2/pull/1705/commits/3d2bbd0d0ed755de7b4e73690df7efd9ba4c4b86 |
| 3d2bbd0 | https://github.com/python-cmd2/cmd2/pull/1705/commits/3d2bbd0d0ed755de7b4e73690df7efd9ba4c4b86 |
|
| https://github.com/tleonhardt |
| examples: Enhance do_intro decorator with full Annotated type hints a… | https://github.com/python-cmd2/cmd2/pull/1705/commits/53b236bdd6a7d5df6e8e672ad2257093b290b276 |
| 53b236b | https://github.com/python-cmd2/cmd2/pull/1705/commits/53b236bdd6a7d5df6e8e672ad2257093b290b276 |
|
| https://github.com/tleonhardt |
| Use more complete annotation syntax for the with_annotated decorator | https://github.com/python-cmd2/cmd2/pull/1705/commits/580233c67d0df878b50f4d867e83f635b372ea72 |
| 580233c | https://github.com/python-cmd2/cmd2/pull/1705/commits/580233c67d0df878b50f4d867e83f635b372ea72 |
|
| https://github.com/tleonhardt |
| getting_started.py now demonstrates how to use both the @with_argpars… | https://github.com/python-cmd2/cmd2/pull/1705/commits/c6465593f2a918bee96361304e97292fe648ac4b |
| c646559 | https://github.com/python-cmd2/cmd2/pull/1705/commits/c6465593f2a918bee96361304e97292fe648ac4b |
| https://github.com/tleonhardt |
| tleonhardt | https://github.com/tleonhardt |
| KelvinChung2000 | https://github.com/KelvinChung2000 |
| July 1, 2026 22:24 | https://github.com/python-cmd2/cmd2/pull/1705#event-27452127032 |
| https://github.com/tleonhardt |
| tleonhardt | https://github.com/tleonhardt |
| Jul 1, 2026 | https://github.com/python-cmd2/cmd2/pull/1705#event-27452127083 |
| https://github.com/tleonhardt |
| tleonhardt | https://github.com/tleonhardt |
| kmvanbrunt | https://github.com/kmvanbrunt |
| code owner | https://github.com/python-cmd2/cmd2/blob/a442a0d87305369a21b5e5ed91fd034d32199411/.github/CODEOWNERS#L55 |
| July 1, 2026 22:24 | https://github.com/python-cmd2/cmd2/pull/1705#event-27452127331 |
| https://github.com/apps/codecov |
| codecov | https://github.com/apps/codecov |
| Jul 1, 2026 | https://github.com/python-cmd2/cmd2/pull/1705#issuecomment-4860523918 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
| Codecov | https://app.codecov.io/gh/python-cmd2/cmd2/pull/1705?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2 |
| a442a0d | https://app.codecov.io/gh/python-cmd2/cmd2/commit/a442a0d87305369a21b5e5ed91fd034d32199411?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2 |
| b763f19 | https://app.codecov.io/gh/python-cmd2/cmd2/commit/b763f19f11e9a69cf5c596315c56d891bdf6ceea?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2 |
| Flag | https://app.codecov.io/gh/python-cmd2/cmd2/pull/1705/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2 |
| unittests | https://app.codecov.io/gh/python-cmd2/cmd2/pull/1705/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2 |
| Click here | https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2#carryforward-flags-in-the-pull-request-comment |
| ☔ View full report in Codecov by Harness | https://app.codecov.io/gh/python-cmd2/cmd2/pull/1705?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2 |
| Share it here | https://about.codecov.io/codecov-pr-comment-feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
| https://github.com/tleonhardt |
| tleonhardt | https://github.com/tleonhardt |
| Jul 1, 2026 | https://github.com/python-cmd2/cmd2/pull/1705#issuecomment-4860524377 |
| @kmvanbrunt | https://github.com/kmvanbrunt |
| @KelvinChung2000 | https://github.com/KelvinChung2000 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
|
| https://github.com/tleonhardt |
| Removed unintentional commit | https://github.com/python-cmd2/cmd2/pull/1705/commits/60020a662d423ef27a25af354790075e37d044af |
| 60020a6 | https://github.com/python-cmd2/cmd2/pull/1705/commits/60020a662d423ef27a25af354790075e37d044af |
| https://github.com/kmvanbrunt |
| kmvanbrunt | https://github.com/kmvanbrunt |
|
Jul 2, 2026
| https://github.com/python-cmd2/cmd2/pull/1705#pullrequestreview-4618299793 |
|
View reviewed changes
| https://github.com/python-cmd2/cmd2/pull/1705/files/60020a662d423ef27a25af354790075e37d044af |
| examples/getting_started.py | https://github.com/python-cmd2/cmd2/pull/1705/files/60020a662d423ef27a25af354790075e37d044af#diff-755d21e8d5b53131f319dbf579a2c0b94ec71aabc8562ea90ae3c61342e0a7df |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
|
| https://github.com/tleonhardt |
| Added a static factory method to build the parser for the echo command | https://github.com/python-cmd2/cmd2/pull/1705/commits/e03b8b8a2b5ae5951fa6ec56cc17fc64fd7a443e |
| e03b8b8 | https://github.com/python-cmd2/cmd2/pull/1705/commits/e03b8b8a2b5ae5951fa6ec56cc17fc64fd7a443e |
| https://github.com/KelvinChung2000 |
| KelvinChung2000 | https://github.com/KelvinChung2000 |
| Jul 2, 2026 | https://github.com/python-cmd2/cmd2/pull/1705#issuecomment-4871413087 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
|
| https://github.com/tleonhardt |
| Revert do_intro to its previous state and add new do_cat command to d… | https://github.com/python-cmd2/cmd2/pull/1705/commits/b763f19f11e9a69cf5c596315c56d891bdf6ceea |
| b763f19 | https://github.com/python-cmd2/cmd2/pull/1705/commits/b763f19f11e9a69cf5c596315c56d891bdf6ceea |
| https://github.com/tleonhardt |
| tleonhardt | https://github.com/tleonhardt |
| Jul 6, 2026 | https://github.com/python-cmd2/cmd2/pull/1705#issuecomment-4895700659 |
| @KelvinChung2000 | https://github.com/KelvinChung2000 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
| https://github.com/tleonhardt |
| tleonhardt | https://github.com/tleonhardt |
| d35f7d7 | https://github.com/python-cmd2/cmd2/commit/d35f7d720244d47226e52ade47ddbb509e066ba0 |
| Jul 6, 2026 | https://github.com/python-cmd2/cmd2/pull/1705#event-27628631195 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
| https://github.com/tleonhardt |
| tleonhardt | https://github.com/tleonhardt |
| July 6, 2026 19:50 | https://github.com/python-cmd2/cmd2/pull/1705#event-27628633375 |
| https://github.co/hiddenchars |
| https://github.com/python-cmd2/cmd2/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmd2%2Fcmd2%2Fpull%2F1705 |
|
| https://github.com/kmvanbrunt |
|
kmvanbrunt
| https://github.com/kmvanbrunt |
|
| https://github.com/python-cmd2/cmd2/pull/1705/files/60020a662d423ef27a25af354790075e37d044af |
|
| https://github.com/KelvinChung2000 |
|
KelvinChung2000
| https://github.com/KelvinChung2000 |
|
| https://github.com/tleonhardt |
|
tleonhardt
| https://github.com/tleonhardt |
|
Refactor getting_started.py example to demonstrate best-practices for defining command arguments
| https://github.com/python-cmd2/cmd2/issues/1704 |
| Please reload this page | https://github.com/python-cmd2/cmd2/pull/1705 |
|
| https://github.com/tleonhardt |
|
| https://github.com/KelvinChung2000 |
|
| https://github.com/kmvanbrunt |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |