René's URL Explorer Experiment


Title: CompletionItems as argparse choices example by kmvanbrunt · Pull Request #1644 · python-cmd2/cmd2 · GitHub

Open Graph Title: CompletionItems as argparse choices example by kmvanbrunt · Pull Request #1644 · python-cmd2/cmd2

X Title: CompletionItems as argparse choices example by kmvanbrunt · Pull Request #1644 · python-cmd2/cmd2

Description: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python - CompletionItems as argparse choices example by kmvanbrunt · Pull Request #1644 · python-cmd2/cmd2

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

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:e776cef1-8fa2-24e6-0e32-dfbce1b6df8d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAE34:32C21D:E56BA9:14D8D2F:6A4E2F64
html-safe-nonceb19b9a1e359089ca9e32a265d2dcf15171fdacf6409e465f6156a3ea734812bc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBRTM0OjMyQzIxRDpFNTZCQTk6MTREOEQyRjo2QTRFMkY2NCIsInZpc2l0b3JfaWQiOiI4MTA0MTM2MTgxNTc3Mjk3NzY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacd4096384199446e1a96dcc12361fa4381d8f547fa32003d48dc5cf36974c1fdb
hovercard-subject-tagpull_request:3565640058
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/1644/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1e2e2d8bdca3e9a4e36718214fad3ba4be2e1c849ffe0c038d08200c336e8bf3/python-cmd2/cmd2/pull/1644
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1e2e2d8bdca3e9a4e36718214fad3ba4be2e1c849ffe0c038d08200c336e8bf3/python-cmd2/cmd2/pull/1644
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekmvanbrunt
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
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
released9dd20d38f8ae3c4cb6b597807431db300d0bd2a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-cmd2/cmd2/pull/1644#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmd2%2Fcmd2%2Fpull%2F1644
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%2F1644
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/1644
Reloadhttps://github.com/python-cmd2/cmd2/pull/1644
Reloadhttps://github.com/python-cmd2/cmd2/pull/1644
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1644
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 0 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
kmvanbrunthttps://github.com/kmvanbrunt
mainhttps://github.com/python-cmd2/cmd2/tree/main
completion_item_choiceshttps://github.com/python-cmd2/cmd2/tree/completion_item_choices
Conversationhttps://github.com/python-cmd2/cmd2/pull/1644
Commits3 (3)https://github.com/python-cmd2/cmd2/pull/1644/commits
Checkshttps://github.com/python-cmd2/cmd2/pull/1644/checks
Files changedhttps://github.com/python-cmd2/cmd2/pull/1644/files
CompletionItems as argparse choices examplehttps://github.com/python-cmd2/cmd2/pull/1644#top
kmvanbrunthttps://github.com/kmvanbrunt
mainhttps://github.com/python-cmd2/cmd2/tree/main
completion_item_choiceshttps://github.com/python-cmd2/cmd2/tree/completion_item_choices
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
Apr 22, 2026https://github.com/python-cmd2/cmd2/pull/1644#issue-4307199215
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1644
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
tleonhardthttps://github.com/tleonhardt
code ownerhttps://github.com/python-cmd2/cmd2/blob/74a2889f27c31f8ed8f7144f19b2432cc4825532/.github/CODEOWNERS#L55
April 22, 2026 06:42https://github.com/python-cmd2/cmd2/pull/1644#event-24744503781
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Apr 22, 2026https://github.com/python-cmd2/cmd2/pull/1644#issuecomment-4294131060
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1644
Codecovhttps://app.codecov.io/gh/python-cmd2/cmd2/pull/1644?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2
74a2889https://app.codecov.io/gh/python-cmd2/cmd2/commit/74a2889f27c31f8ed8f7144f19b2432cc4825532?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2
788272ehttps://app.codecov.io/gh/python-cmd2/cmd2/commit/788272ea00a11f51e8a2773a52e85d058d133151?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/1644/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/1644/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 Sentryhttps://app.codecov.io/gh/python-cmd2/cmd2/pull/1644?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/1644
https://github.com/kmvanbrunt
Added example for using CompletionItem instances as elements in an ar…https://github.com/python-cmd2/cmd2/pull/1644/commits/85176fa6462d3e805581605b0f6a8c0fc40a1471
85176fahttps://github.com/python-cmd2/cmd2/pull/1644/commits/85176fa6462d3e805581605b0f6a8c0fc40a1471
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
force-pushedhttps://github.com/python-cmd2/cmd2/compare/551dbfc78a15169d8985e92816a6267b897877d6..85176fa6462d3e805581605b0f6a8c0fc40a1471
551dbfchttps://github.com/python-cmd2/cmd2/commit/551dbfc78a15169d8985e92816a6267b897877d6
85176fahttps://github.com/python-cmd2/cmd2/commit/85176fa6462d3e805581605b0f6a8c0fc40a1471
Compare https://github.com/python-cmd2/cmd2/compare/551dbfc78a15169d8985e92816a6267b897877d6..85176fa6462d3e805581605b0f6a8c0fc40a1471
April 22, 2026 06:43https://github.com/python-cmd2/cmd2/pull/1644#event-24744543616
https://github.com/kmvanbrunt
Updated example.https://github.com/python-cmd2/cmd2/pull/1644/commits/255c94240b464b6e6eb3aca413b1ec381a171d8c
255c942https://github.com/python-cmd2/cmd2/pull/1644/commits/255c94240b464b6e6eb3aca413b1ec381a171d8c
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Apr 22, 2026 https://github.com/python-cmd2/cmd2/pull/1644#pullrequestreview-4155125077
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1644/files/255c94240b464b6e6eb3aca413b1ec381a171d8c
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Apr 22, 2026 https://github.com/python-cmd2/cmd2/pull/1644#pullrequestreview-4155829139
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1644/files/255c94240b464b6e6eb3aca413b1ec381a171d8c
examples/completion_item_choices.pyhttps://github.com/python-cmd2/cmd2/pull/1644/files/255c94240b464b6e6eb3aca413b1ec381a171d8c#diff-93f43bf00d318397f428aa1ab0511b65b4675577e7689296560f0a4ee644e9f2
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1644
https://github.com/kmvanbrunt
Updated comments and example code.https://github.com/python-cmd2/cmd2/pull/1644/commits/788272ea00a11f51e8a2773a52e85d058d133151
788272ehttps://github.com/python-cmd2/cmd2/pull/1644/commits/788272ea00a11f51e8a2773a52e85d058d133151
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
tleonhardthttps://github.com/tleonhardt
stale reviewhttps://github.com/python-cmd2/cmd2/pull/1644#pullrequestreview-4155125077
788272ehttps://github.com/python-cmd2/cmd2/commit/788272ea00a11f51e8a2773a52e85d058d133151
April 22, 2026 16:03https://github.com/python-cmd2/cmd2/pull/1644#event-24762948947
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Apr 22, 2026 https://github.com/python-cmd2/cmd2/pull/1644#pullrequestreview-4156150603
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1644/files/788272ea00a11f51e8a2773a52e85d058d133151
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
47c492bhttps://github.com/python-cmd2/cmd2/commit/47c492bc1b2167a4d986385ccea1e298b22eccf9
Apr 22, 2026https://github.com/python-cmd2/cmd2/pull/1644#event-24763401913
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1644
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
April 22, 2026 16:17https://github.com/python-cmd2/cmd2/pull/1644#event-24763404280
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%2F1644
https://github.com/tleonhardt
tleonhardt https://github.com/tleonhardt
https://github.com/python-cmd2/cmd2/pull/1644/files/788272ea00a11f51e8a2773a52e85d058d133151
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1644
https://github.com/kmvanbrunt
https://github.com/tleonhardt
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.