René's URL Explorer Experiment


Title: Raise ValueError in attach_subcommand() when the subcommand already exists. by kmvanbrunt · Pull Request #1645 · python-cmd2/cmd2 · GitHub

Open Graph Title: Raise ValueError in attach_subcommand() when the subcommand already exists. by kmvanbrunt · Pull Request #1645 · python-cmd2/cmd2

X Title: Raise ValueError in attach_subcommand() when the subcommand already exists. by kmvanbrunt · Pull Request #1645 · python-cmd2/cmd2

Description: cmd2 - quickly build feature-rich and user-friendly interactive command line applications in Python - Raise ValueError in attach_subcommand() when the subcommand already exists. by kmvanbrunt · Pull Request #1645 · python-cmd2/cmd2

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

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:1776bfc9-9bc4-567b-d546-10f3fb675f89
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE9F2:3F852C:72FA4:9377B:6A4D7AD1
html-safe-nonce4d3fedda9d10a58a9a03ae9325dacb6f5ffaed7b1e2c33743869789fb32a6566
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUYyOjNGODUyQzo3MkZBNDo5Mzc3Qjo2QTREN0FEMSIsInZpc2l0b3JfaWQiOiIxODk1MzQ2MzE5MDY2NDk1Njk3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac2997565e40c3c1500a9d01ea33863df95b3c1660f33ac943153af30496b1ef8c
hovercard-subject-tagpull_request:3568999534
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/1645/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/e48c2eeceacc65bb804d19cc7eda9c266d8705a900cbb0e3f9e66784693fc314/python-cmd2/cmd2/pull/1645
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e48c2eeceacc65bb804d19cc7eda9c266d8705a900cbb0e3f9e66784693fc314/python-cmd2/cmd2/pull/1645
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekmvanbrunt
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/1645#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython-cmd2%2Fcmd2%2Fpull%2F1645
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%2F1645
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/1645
Reloadhttps://github.com/python-cmd2/cmd2/pull/1645
Reloadhttps://github.com/python-cmd2/cmd2/pull/1645
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1645
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
handle_duplicate_subcommandhttps://github.com/python-cmd2/cmd2/tree/handle_duplicate_subcommand
Conversationhttps://github.com/python-cmd2/cmd2/pull/1645
Commits3 (3)https://github.com/python-cmd2/cmd2/pull/1645/commits
Checkshttps://github.com/python-cmd2/cmd2/pull/1645/checks
Files changedhttps://github.com/python-cmd2/cmd2/pull/1645/files
Raise ValueError in attach_subcommand() when the subcommand already exists.https://github.com/python-cmd2/cmd2/pull/1645#top
kmvanbrunthttps://github.com/kmvanbrunt
mainhttps://github.com/python-cmd2/cmd2/tree/main
handle_duplicate_subcommandhttps://github.com/python-cmd2/cmd2/tree/handle_duplicate_subcommand
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
Apr 22, 2026https://github.com/python-cmd2/cmd2/pull/1645#issue-4311105265
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1645
https://github.com/kmvanbrunt
Raise ValueError in attach_subcommand() when the subcommand already e…https://github.com/python-cmd2/cmd2/pull/1645/commits/fd655f4c3fdb07997364b7cf33a4f7b046448891
fd655f4https://github.com/python-cmd2/cmd2/pull/1645/commits/fd655f4c3fdb07997364b7cf33a4f7b046448891
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
tleonhardthttps://github.com/tleonhardt
code ownerhttps://github.com/python-cmd2/cmd2/blob/47c492bc1b2167a4d986385ccea1e298b22eccf9/.github/CODEOWNERS#L32
April 22, 2026 18:36https://github.com/python-cmd2/cmd2/pull/1645#event-24767730823
https://github.com/apps/codecov
codecovhttps://github.com/apps/codecov
Apr 22, 2026https://github.com/python-cmd2/cmd2/pull/1645#issuecomment-4299022144
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1645
Codecovhttps://app.codecov.io/gh/python-cmd2/cmd2/pull/1645?dropdown=coverage&src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2
47c492bhttps://app.codecov.io/gh/python-cmd2/cmd2/commit/47c492bc1b2167a4d986385ccea1e298b22eccf9?dropdown=coverage&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=python-cmd2
abdd76chttps://app.codecov.io/gh/python-cmd2/cmd2/commit/abdd76c4bad0ca2c88d97f09dc84626452e74095?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/1645/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/1645/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/1645?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/1645
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Apr 22, 2026 https://github.com/python-cmd2/cmd2/pull/1645#pullrequestreview-4157415882
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1645/files/fd655f4c3fdb07997364b7cf33a4f7b046448891
tests/test_argparse_utils.pyhttps://github.com/python-cmd2/cmd2/pull/1645/files/fd655f4c3fdb07997364b7cf33a4f7b046448891#diff-2a825800c0ab080baa00a4a0fc348978c1bb762d6a3708872c4e141cb578bf7f
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1645
cmd2/argparse_utils.pyhttps://github.com/python-cmd2/cmd2/pull/1645/files/fd655f4c3fdb07997364b7cf33a4f7b046448891#diff-0322d2345a2dc7bd5c3d163c24977d8b50ae9d606bac64d05ae2317333778468
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1645
https://github.com/kmvanbrunt
Fixed inconsistent behavior between Python versions by always checkin…https://github.com/python-cmd2/cmd2/pull/1645/commits/1dc704241c9a2d15fb4f67f71e89d89f572ba808
1dc7042https://github.com/python-cmd2/cmd2/pull/1645/commits/1dc704241c9a2d15fb4f67f71e89d89f572ba808
https://github.com/tleonhardt
tleonhardthttps://github.com/tleonhardt
Apr 22, 2026 https://github.com/python-cmd2/cmd2/pull/1645#pullrequestreview-4157776266
View reviewed changes https://github.com/python-cmd2/cmd2/pull/1645/files/1dc704241c9a2d15fb4f67f71e89d89f572ba808
https://github.com/kmvanbrunt
Updated comment.https://github.com/python-cmd2/cmd2/pull/1645/commits/abdd76c4bad0ca2c88d97f09dc84626452e74095
abdd76chttps://github.com/python-cmd2/cmd2/pull/1645/commits/abdd76c4bad0ca2c88d97f09dc84626452e74095
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
tleonhardthttps://github.com/tleonhardt
stale reviewhttps://github.com/python-cmd2/cmd2/pull/1645#pullrequestreview-4157776266
abdd76chttps://github.com/python-cmd2/cmd2/commit/abdd76c4bad0ca2c88d97f09dc84626452e74095
April 22, 2026 21:21https://github.com/python-cmd2/cmd2/pull/1645#event-24772561638
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
03db5e4https://github.com/python-cmd2/cmd2/commit/03db5e4dce482452f409b268336e726e8005753f
Apr 22, 2026https://github.com/python-cmd2/cmd2/pull/1645#event-24772885452
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1645
https://github.com/kmvanbrunt
kmvanbrunthttps://github.com/kmvanbrunt
April 22, 2026 21:36https://github.com/python-cmd2/cmd2/pull/1645#event-24772886597
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%2F1645
https://github.com/tleonhardt
tleonhardt https://github.com/tleonhardt
https://github.com/python-cmd2/cmd2/pull/1645/files/1dc704241c9a2d15fb4f67f71e89d89f572ba808
Please reload this pagehttps://github.com/python-cmd2/cmd2/pull/1645
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.