René's URL Explorer Experiment


Title: getting_started.py now demonstrates how to use common cmd2 deocrators by tleonhardt · Pull Request #1705 · python-cmd2/cmd2 · GitHub

Open Graph Title: getting_started.py now demonstrates how to use common cmd2 deocrators by tleonhardt · Pull Request #1705 · python-cmd2/cmd2

X Title: getting_started.py now demonstrates how to use common cmd2 deocrators by tleonhardt · Pull Request #1705 · python-cmd2/cmd2

Description: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python - getting_started.py now demonstrates how to use common cmd2 deocrators by tleonhardt · Pull Request #1705 · python-cmd2/cmd2

Open Graph Description: 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...

X Description: 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...

Opengraph URL: https://github.com/python-cmd2/cmd2/pull/1705

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:84cf5579-0306-7f0a-c7ae-1b0fba103b8e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8F38:2F6F91:71B050:A3A7DF:6A4CE1EF
html-safe-nonce396c2e56850bb65915b80b6953c3535af6d34124695a431e6009d1f2a333cb14
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjM4OjJGNkY5MTo3MUIwNTA6QTNBN0RGOjZBNENFMUVGIiwidmlzaXRvcl9pZCI6IjgzMzExOTU3MDUwNTg5NzYyMzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac2bd82f80436c1a12f79fd77b24d10214b0ca201bdc4fdeb47161f9400a020e9f
hovercard-subject-tagpull_request:3974236641
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/python-cmd2/cmd2/1705/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/7ab58ad7e15e81600414c26fccb0af01569d3d863a07f055919114272b305bd5/python-cmd2/cmd2/pull/1705
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7ab58ad7e15e81600414c26fccb0af01569d3d863a07f055919114272b305bd5/python-cmd2/cmd2/pull/1705
og:image:altgetting_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:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametleonhardt
hostnamegithub.com
expected-hostnamegithub.com
None299b43bca6e02ad35197ffeba30d2466846d5fb02ab96fbced5b5e6cec589fb8
turbo-cache-controlno-cache
go-importgithub.com/python-cmd2/cmd2 git https://github.com/python-cmd2/cmd2.git
octolytics-dimension-user_id17161025
octolytics-dimension-user_loginpython-cmd2
octolytics-dimension-repository_id51442999
octolytics-dimension-repository_nwopython-cmd2/cmd2
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id51442999
octolytics-dimension-repository_network_root_nwopython-cmd2/cmd2
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasec5a57f04eeb310f57c73fd6d751d957e2ca27ed2
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://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 AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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
Reloadhttps://github.com/python-cmd2/cmd2/pull/1705
Reloadhttps://github.com/python-cmd2/cmd2/pull/1705
Reloadhttps://github.com/python-cmd2/cmd2/pull/1705
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1705
python-cmd2 https://github.com/python-cmd2
cmd2https://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
tleonhardthttps://github.com/tleonhardt
mainhttps://github.com/python-cmd2/cmd2/tree/main
getting_started_with_decoratorshttps://github.com/python-cmd2/cmd2/tree/getting_started_with_decorators
Conversationhttps://github.com/python-cmd2/cmd2/pull/1705
Commits8 (8)https://github.com/python-cmd2/cmd2/pull/1705/commits
Checkshttps://github.com/python-cmd2/cmd2/pull/1705/checks
Files changedhttps://github.com/python-cmd2/cmd2/pull/1705/files
getting_started.py now demonstrates how to use common cmd2 deocratorshttps://github.com/python-cmd2/cmd2/pull/1705#top
tleonhardthttps://github.com/tleonhardt
mainhttps://github.com/python-cmd2/cmd2/tree/main
getting_started_with_decoratorshttps://github.com/python-cmd2/cmd2/tree/getting_started_with_decorators
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Jul 1, 2026https://github.com/python-cmd2/cmd2/pull/1705#issue-4789643600
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1705
#1704https://github.com/python-cmd2/cmd2/issues/1704
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1705
tleonhardthttps://github.com/tleonhardt
July 1, 2026 15:31https://github.com/python-cmd2/cmd2/pull/1705#commits-pushed-2cce737
https://github.com/tleonhardt
docs: Add design spec for updating getting_started.py with decoratorshttps://github.com/python-cmd2/cmd2/pull/1705/commits/2cce73796cb0bfedeca11873bbcf5c01ea7ef5ee
2cce737https://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
3d2bbd0https://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
53b236bhttps://github.com/python-cmd2/cmd2/pull/1705/commits/53b236bdd6a7d5df6e8e672ad2257093b290b276
https://github.com/tleonhardt
Use more complete annotation syntax for the with_annotated decoratorhttps://github.com/python-cmd2/cmd2/pull/1705/commits/580233c67d0df878b50f4d867e83f635b372ea72
580233chttps://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
c646559https://github.com/python-cmd2/cmd2/pull/1705/commits/c6465593f2a918bee96361304e97292fe648ac4b
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
KelvinChung2000https://github.com/KelvinChung2000
July 1, 2026 22:24https://github.com/python-cmd2/cmd2/pull/1705#event-27452127032
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Jul 1, 2026https://github.com/python-cmd2/cmd2/pull/1705#event-27452127083
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
kmvanbrunthttps://github.com/kmvanbrunt
code ownerhttps://github.com/python-cmd2/cmd2/blob/a442a0d87305369a21b5e5ed91fd034d32199411/.github/CODEOWNERS#L55
July 1, 2026 22:24https://github.com/python-cmd2/cmd2/pull/1705#event-27452127331
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Jul 1, 2026https://github.com/python-cmd2/cmd2/pull/1705#issuecomment-4860523918
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1705
Codecovhttps://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
a442a0dhttps://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
b763f19https://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
Flaghttps://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
unittestshttps://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 herehttps://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 Harnesshttps://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 herehttps://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 pagehttps://github.com/python-cmd2/cmd2/pull/1705
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Jul 1, 2026https://github.com/python-cmd2/cmd2/pull/1705#issuecomment-4860524377
@kmvanbrunthttps://github.com/kmvanbrunt
@KelvinChung2000https://github.com/KelvinChung2000
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1705
https://github.com/tleonhardt
Removed unintentional commithttps://github.com/python-cmd2/cmd2/pull/1705/commits/60020a662d423ef27a25af354790075e37d044af
60020a6https://github.com/python-cmd2/cmd2/pull/1705/commits/60020a662d423ef27a25af354790075e37d044af
https://github.com/kmvanbrunt
kmvanbrunthttps://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.pyhttps://github.com/python-cmd2/cmd2/pull/1705/files/60020a662d423ef27a25af354790075e37d044af#diff-755d21e8d5b53131f319dbf579a2c0b94ec71aabc8562ea90ae3c61342e0a7df
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1705
https://github.com/tleonhardt
Added a static factory method to build the parser for the echo commandhttps://github.com/python-cmd2/cmd2/pull/1705/commits/e03b8b8a2b5ae5951fa6ec56cc17fc64fd7a443e
e03b8b8https://github.com/python-cmd2/cmd2/pull/1705/commits/e03b8b8a2b5ae5951fa6ec56cc17fc64fd7a443e
https://github.com/KelvinChung2000
KelvinChung2000https://github.com/KelvinChung2000
Jul 2, 2026https://github.com/python-cmd2/cmd2/pull/1705#issuecomment-4871413087
Please reload this pagehttps://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
b763f19https://github.com/python-cmd2/cmd2/pull/1705/commits/b763f19f11e9a69cf5c596315c56d891bdf6ceea
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Jul 6, 2026https://github.com/python-cmd2/cmd2/pull/1705#issuecomment-4895700659
@KelvinChung2000https://github.com/KelvinChung2000
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1705
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
d35f7d7https://github.com/python-cmd2/cmd2/commit/d35f7d720244d47226e52ade47ddbb509e066ba0
Jul 6, 2026https://github.com/python-cmd2/cmd2/pull/1705#event-27628631195
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1705
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
July 6, 2026 19:50https://github.com/python-cmd2/cmd2/pull/1705#event-27628633375
https://github.co/hiddenchars
https://github.com/python-cmd2/cmd2/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/python-cmd2/cmd2/pull/1705
https://github.com/tleonhardt
https://github.com/KelvinChung2000
https://github.com/kmvanbrunt
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.