René's URL Explorer Experiment


Title: Update cmd2.Cmd.select to use prompt-toolkit choice by tleonhardt · Pull Request #1600 · python-cmd2/cmd2 · GitHub

Open Graph Title: Update cmd2.Cmd.select to use prompt-toolkit choice by tleonhardt · Pull Request #1600 · python-cmd2/cmd2

X Title: Update cmd2.Cmd.select to use prompt-toolkit choice by tleonhardt · Pull Request #1600 · python-cmd2/cmd2

Description: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python - Update cmd2.Cmd.select to use prompt-toolkit choice by tleonhardt · Pull Request #1600 · python-cmd2/cmd2

Open Graph Description: The choice function from prompt-toolkit is now used for cmd2.Cmd.select method when both stdin and stdout are TTYs. Key Changes: prompt_toolkit.shortcuts.choice integration: The select method now ...

X Description: The choice function from prompt-toolkit is now used for cmd2.Cmd.select method when both stdin and stdout are TTYs. Key Changes: prompt_toolkit.shortcuts.choice integration: The select method now ...

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

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:0be61daa-64b5-2494-9377-16fe465a9130
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id82D0:144733:A6D10:DDF60:6A4D7A89
html-safe-nonce670f55d00b88aec14990874bfb18457052728bd8954d56591fcec81e11672158
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkQwOjE0NDczMzpBNkQxMDpEREY2MDo2QTREN0E4OSIsInZpc2l0b3JfaWQiOiIxMTk3NjkyNzI2NTIwMTUwNjY1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1bd867f38cea7278cebf175c7bf3012bcf8bccfddec2ec716a32bbb1ee4cbe27
hovercard-subject-tagpull_request:3366326446
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/1600/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/345c97f892821099be8aa80e7419f58553f972a4ab3d09fbce61d7c2fc5be5ae/python-cmd2/cmd2/pull/1600
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/345c97f892821099be8aa80e7419f58553f972a4ab3d09fbce61d7c2fc5be5ae/python-cmd2/cmd2/pull/1600
og:image:altThe choice function from prompt-toolkit is now used for cmd2.Cmd.select method when both stdin and stdout are TTYs. Key Changes: prompt_toolkit.shortcuts.choice integration: The select method now ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernametleonhardt
hostnamegithub.com
expected-hostnamegithub.com
None7f8e15305e2ab58890ca84b830615e375f5df303cf471cafcba0c08272981be3
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
release8608b0750fc35e283e5ec5b094bff942d7a0e197
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/python-cmd2/cmd2/pull/1600#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmd2%2Fcmd2%2Fpull%2F1600
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%2F1600
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/1600
Reloadhttps://github.com/python-cmd2/cmd2/pull/1600
Reloadhttps://github.com/python-cmd2/cmd2/pull/1600
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
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
tleonhardthttps://github.com/tleonhardt
mainhttps://github.com/python-cmd2/cmd2/tree/main
pt-choicehttps://github.com/python-cmd2/cmd2/tree/pt-choice
Conversationhttps://github.com/python-cmd2/cmd2/pull/1600
Commits6 (6)https://github.com/python-cmd2/cmd2/pull/1600/commits
Checkshttps://github.com/python-cmd2/cmd2/pull/1600/checks
Files changedhttps://github.com/python-cmd2/cmd2/pull/1600/files
Update cmd2.Cmd.select to use prompt-toolkit choicehttps://github.com/python-cmd2/cmd2/pull/1600#top
tleonhardthttps://github.com/tleonhardt
mainhttps://github.com/python-cmd2/cmd2/tree/main
pt-choicehttps://github.com/python-cmd2/cmd2/tree/pt-choice
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Mar 7, 2026https://github.com/python-cmd2/cmd2/pull/1600#issue-4037086773
choicehttps://python-prompt-toolkit.readthedocs.io/en/3.0.52/pages/asking_for_a_choice.html
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
https://github.com/tleonhardt
Update cmd2.Cmd.select to use prompt-toolkit choicehttps://github.com/python-cmd2/cmd2/pull/1600/commits/149bcca1f2c524b636653c72719b8309fbef30a1
149bccahttps://github.com/python-cmd2/cmd2/pull/1600/commits/149bcca1f2c524b636653c72719b8309fbef30a1
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
kmvanbrunthttps://github.com/kmvanbrunt
code ownerhttps://github.com/python-cmd2/cmd2/blob/5ab816e4f59bc03024cd555ab3206adbbc0d5a67/.github/CODEOWNERS#L32
March 7, 2026 02:44https://github.com/python-cmd2/cmd2/pull/1600#event-23350253522
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 7, 2026https://github.com/python-cmd2/cmd2/pull/1600#issuecomment-4015336754
@tleonhardthttps://github.com/tleonhardt
in the logshttps://github.com/python-cmd2/cmd2/actions/runs/22790364522
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Mar 7, 2026https://github.com/python-cmd2/cmd2/pull/1600#event-23350256502
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
4.0.0https://github.com/python-cmd2/cmd2/milestone/67
Mar 7, 2026https://github.com/python-cmd2/cmd2/pull/1600#event-23350257196
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Mar 7, 2026https://github.com/python-cmd2/cmd2/pull/1600#issuecomment-4015337716
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
Codecovhttps://app.codecov.io/gh/python-cmd2/cmd2/pull/1600?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2
e5d2de7https://app.codecov.io/gh/python-cmd2/cmd2/commit/e5d2de7e830441f1d70162dcc520c80aac7f345d?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2
0551fa8https://app.codecov.io/gh/python-cmd2/cmd2/commit/0551fa8434335e86126eb30ec142c24e4a2c3fa7?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/1600/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/1600/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/1600?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/1600
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 7, 2026https://github.com/python-cmd2/cmd2/pull/1600#issuecomment-4015338622
@tleonhardthttps://github.com/tleonhardt
see the logshttps://github.com/python-cmd2/cmd2/actions/runs/22790364522
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
tleonhardthttps://github.com/tleonhardt
March 6, 2026 21:56https://github.com/python-cmd2/cmd2/pull/1600#commits-pushed-de5f9a8
https://github.com/tleonhardt
Add unit testshttps://github.com/python-cmd2/cmd2/pull/1600/commits/de5f9a849136c89390855f6057427acf6cb8baf3
de5f9a8https://github.com/python-cmd2/cmd2/pull/1600/commits/de5f9a849136c89390855f6057427acf6cb8baf3
https://github.com/tleonhardt
Add unit test for uncovered codehttps://github.com/python-cmd2/cmd2/pull/1600/commits/c061b9580f115ce1643e9d451c74081502a2c4e4
c061b95https://github.com/python-cmd2/cmd2/pull/1600/commits/c061b9580f115ce1643e9d451c74081502a2c4e4
https://github.com/tleonhardt
Updated CHANGELOGhttps://github.com/python-cmd2/cmd2/pull/1600/commits/589914edbaa7df301e55b17f2ba0966cea5240ee
589914ehttps://github.com/python-cmd2/cmd2/pull/1600/commits/589914edbaa7df301e55b17f2ba0966cea5240ee
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Mar 7, 2026 https://github.com/python-cmd2/cmd2/pull/1600#ref-issue-3703922615
cmd2 4.0 discussion #1538 https://github.com/python-cmd2/cmd2/issues/1538
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
Mar 7, 2026 https://github.com/python-cmd2/cmd2/pull/1600#pullrequestreview-3907884295
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1600/files/589914edbaa7df301e55b17f2ba0966cea5240ee
examples/remove_settable.pyhttps://github.com/python-cmd2/cmd2/pull/1600/files/589914edbaa7df301e55b17f2ba0966cea5240ee#diff-35084c8fc3fe9dbef0da784d6ff4a9c9d4086eb71eca6a145c8852ca90a37504
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
https://github.com/kmvanbrunt
Merge branch 'main' into pt-choicehttps://github.com/python-cmd2/cmd2/pull/1600/commits/9c50259fe4738b0f130407b62a12e576717bf359
9c50259https://github.com/python-cmd2/cmd2/pull/1600/commits/9c50259fe4738b0f130407b62a12e576717bf359
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
Mar 7, 2026 https://github.com/python-cmd2/cmd2/pull/1600#pullrequestreview-3908138020
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1600/files/9c50259fe4738b0f130407b62a12e576717bf359
cmd2/cmd2.pyhttps://github.com/python-cmd2/cmd2/pull/1600/files/9c50259fe4738b0f130407b62a12e576717bf359#diff-325e1c8c92627fe81d6ef9f286b107ede43813bfdb4160425ca4f69c9e7ce08b
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
Mar 7, 2026 https://github.com/python-cmd2/cmd2/pull/1600#pullrequestreview-3908158188
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1600/files/9c50259fe4738b0f130407b62a12e576717bf359
tests/test_cmd2.pyhttps://github.com/python-cmd2/cmd2/pull/1600/files/9c50259fe4738b0f130407b62a12e576717bf359#diff-619ddd8c328e715fff231ef137a18683cb81c372215cdd1085cdd3976f9b533c
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
Mar 7, 2026 https://github.com/python-cmd2/cmd2/pull/1600#pullrequestreview-3908160496
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1600/files/9c50259fe4738b0f130407b62a12e576717bf359
https://github.com/tleonhardt
Addressed PR commentshttps://github.com/python-cmd2/cmd2/pull/1600/commits/0551fa8434335e86126eb30ec142c24e4a2c3fa7
0551fa8https://github.com/python-cmd2/cmd2/pull/1600/commits/0551fa8434335e86126eb30ec142c24e4a2c3fa7
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
Mar 7, 2026 https://github.com/python-cmd2/cmd2/pull/1600#pullrequestreview-3909450276
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1600/files/0551fa8434335e86126eb30ec142c24e4a2c3fa7
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
ead6094https://github.com/python-cmd2/cmd2/commit/ead609480b6f2fd77b56d94535e359bc56c110e0
Mar 7, 2026https://github.com/python-cmd2/cmd2/pull/1600#event-23362279945
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
March 7, 2026 19:39https://github.com/python-cmd2/cmd2/pull/1600#event-23362280348
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%2F1600
https://github.com/kmvanbrunt
kmvanbrunt https://github.com/kmvanbrunt
https://github.com/python-cmd2/cmd2/pull/1600/files/0551fa8434335e86126eb30ec142c24e4a2c3fa7
https://github.com/tleonhardt
tleonhardt https://github.com/tleonhardt
4.0.0 https://github.com/python-cmd2/cmd2/milestone/67
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1600
https://github.com/tleonhardt
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.