René's URL Explorer Experiment


Title: Issue #108: Shortcuts for boolean arguments by alexshadley · Pull Request #141 · google/python-fire · GitHub

Open Graph Title: Issue #108: Shortcuts for boolean arguments by alexshadley · Pull Request #141 · google/python-fire

X Title: Issue #108: Shortcuts for boolean arguments by alexshadley · Pull Request #141 · google/python-fire

Description: Python Fire is a library for automatically generating command line interfaces (CLIs) from absolutely any Python object. - Issue #108: Shortcuts for boolean arguments by alexshadley · Pull Request #141 · google/python-fire

Open Graph Description: In response to this issue. This adds a feature where a shortcut can be used for boolean arguments of functions. For example the function def foo(bar=False): can be invoked as foo -b to set bar to...

X Description: In response to this issue. This adds a feature where a shortcut can be used for boolean arguments of functions. For example the function def foo(bar=False): can be invoked as foo -b to set bar to...

Opengraph URL: https://github.com/google/python-fire/pull/141

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:0a79448f-f6c8-8dbd-e271-38971907c38b
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDB64:1E3154:25EEB2:32F94E:6B0023B3
html-safe-nonce7c0f7ec0950f6a1c61b7ce452b87f326f1862ed56621b5ccd11c588862c085b6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjY0OjFFMzE1NDoyNUVFQjI6MzJGOTRFOjZCMDAyM0IzIiwidmlzaXRvcl9pZCI6IjY4MTM2ODI1MTg0MjQ4MjI3MDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccd5366f87fa2bd24cd144a9e667232dc93db24f3375e2f3569e58329e2f02389
hovercard-subject-tagpull_request:215834411
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/google/python-fire/141/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/1c4796ce8c600346d4767a07107e8460d44636e998b1eaf921c704d0cb8d477f/google/python-fire/pull/141
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1c4796ce8c600346d4767a07107e8460d44636e998b1eaf921c704d0cb8d477f/google/python-fire/pull/141
og:image:altIn response to this issue. This adds a feature where a shortcut can be used for boolean arguments of functions. For example the function def foo(bar=False): can be invoked as foo -b to set bar to...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamealexshadley
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-cache
go-importgithub.com/google/python-fire git https://github.com/google/python-fire.git
octolytics-dimension-user_id1342004
octolytics-dimension-user_logingoogle
octolytics-dimension-repository_id82729529
octolytics-dimension-repository_nwogoogle/python-fire
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id82729529
octolytics-dimension-repository_network_root_nwogoogle/python-fire
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
release44c658b24abf00491fb7ae5f56d42c9f38cbeab2
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/google/python-fire/pull/141#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fpython-fire%2Fpull%2F141
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fpython-fire%2Fpull%2F141
Sign uphttps://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=google%2Fpython-fire
Reloadhttps://github.com/google/python-fire/pull/141
Reloadhttps://github.com/google/python-fire/pull/141
Reloadhttps://github.com/google/python-fire/pull/141
googlehttps://github.com/google
python-firehttps://github.com/google/python-fire
Codehttps://github.com/google/python-fire
Issues146 (146)https://github.com/google/python-fire/issues
Pull requests85 (85)https://github.com/google/python-fire/pulls
Actionshttps://github.com/google/python-fire/actions
Projectshttps://github.com/google/python-fire/projects
Security and qualityhttps://github.com/google/python-fire/security
Insightshttps://github.com/google/python-fire/insights
https://github.com/google/python-fire
dbieberhttps://github.com/dbieber
google:masterhttps://github.com/google/python-fire/tree/master
alexshadley:masterhttps://github.com/alexshadley/python-fire/tree/master
Conversationhttps://github.com/google/python-fire/pull/141
Commits10 (10)https://github.com/google/python-fire/pull/141/commits
Checkshttps://github.com/google/python-fire/pull/141/checks
Files changedhttps://github.com/google/python-fire/pull/141/files
Issue #108: Shortcuts for boolean argumentshttps://github.com/google/python-fire/pull/141#top
dbieberhttps://github.com/dbieber
google:masterhttps://github.com/google/python-fire/tree/master
alexshadley:masterhttps://github.com/alexshadley/python-fire/tree/master
https://github.com/alexshadley
alexshadleyhttps://github.com/alexshadley
Sep 16, 2018https://github.com/google/python-fire/pull/141#issue-360658990
this issuehttps://github.com/google/python-fire/issues/108
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/alexshadley
adds support for parsing shortcuts for boolean arguments, along with …https://github.com/google/python-fire/pull/141/commits/99b86dc5a9832bf95cfcb33d0d88c52c548fd60a
99b86dchttps://github.com/google/python-fire/pull/141/commits/99b86dc5a9832bf95cfcb33d0d88c52c548fd60a
https://github.com/alexshadley
alexshadleyhttps://github.com/alexshadley
Sep 16, 2018https://github.com/google/python-fire/pull/141#event-1848395421
https://github.com/alexshadley
fixes line size for PEP8https://github.com/google/python-fire/pull/141/commits/a18aee3a86586eaede46cfb151acf2908b94ec55
a18aee3https://github.com/google/python-fire/pull/141/commits/a18aee3a86586eaede46cfb151acf2908b94ec55
https://github.com/alexshadley
alexshadleyhttps://github.com/alexshadley
Sep 28, 2018https://github.com/google/python-fire/pull/141#event-1874541899
alexshadleyhttps://github.com/alexshadley
September 28, 2018 17:09https://github.com/google/python-fire/pull/141#commits-pushed-732711b
https://github.com/alexshadley
additional style compliancehttps://github.com/google/python-fire/pull/141/commits/732711bc85f86737ec23f68ede37c3052e57e31b
732711bhttps://github.com/google/python-fire/pull/141/commits/732711bc85f86737ec23f68ede37c3052e57e31b
https://github.com/alexshadley
style compliancehttps://github.com/google/python-fire/pull/141/commits/c73064a790d75d0ac78fca53aaa81a2dfc1c2677
c73064ahttps://github.com/google/python-fire/pull/141/commits/c73064a790d75d0ac78fca53aaa81a2dfc1c2677
https://github.com/alexshadley
alexshadleyhttps://github.com/alexshadley
Sep 28, 2018https://github.com/google/python-fire/pull/141#issuecomment-425582646
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 1, 2018https://github.com/google/python-fire/pull/141#issuecomment-426020845
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 1, 2018 https://github.com/google/python-fire/pull/141#pullrequestreview-160436203
View reviewed changes https://github.com/google/python-fire/pull/141/files/c73064a790d75d0ac78fca53aaa81a2dfc1c2677
dbieberhttps://github.com/dbieber
https://github.com/google/python-fire/pull/141#pullrequestreview-160436203
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/python-fire/pull/141
fire/core.pyhttps://github.com/google/python-fire/pull/141/files/c73064a790d75d0ac78fca53aaa81a2dfc1c2677#diff-6e71ec955d67ac88066d77413af38a8043e03fbb28835c40e70c8d804e61f403
dbieberhttps://github.com/dbieber
Oct 1, 2018https://github.com/google/python-fire/pull/141#discussion_r221718075
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/python-fire/pull/141
fire/core.pyhttps://github.com/google/python-fire/pull/141/files/c73064a790d75d0ac78fca53aaa81a2dfc1c2677#diff-6e71ec955d67ac88066d77413af38a8043e03fbb28835c40e70c8d804e61f403
dbieberhttps://github.com/dbieber
Oct 1, 2018https://github.com/google/python-fire/pull/141#discussion_r221719112
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/python-fire/pull/141
alexshadleyhttps://github.com/alexshadley
October 4, 2018 22:42https://github.com/google/python-fire/pull/141#commits-pushed-c9ba0ac
https://github.com/alexshadley
encapsulates flag-detection logic in functions and merges argument re…https://github.com/google/python-fire/pull/141/commits/c9ba0acd88e90c1f3c9a8545b796eb2e7b5921d8
c9ba0achttps://github.com/google/python-fire/pull/141/commits/c9ba0acd88e90c1f3c9a8545b796eb2e7b5921d8
https://github.com/alexshadley
adds additional tests to test shortcut args with non-boolean valueshttps://github.com/google/python-fire/pull/141/commits/89c25cf9b3b6a5ee41d3a9694c057d265dc6612b
89c25cfhttps://github.com/google/python-fire/pull/141/commits/89c25cf9b3b6a5ee41d3a9694c057d265dc6612b
https://github.com/alexshadley
adds function commentshttps://github.com/google/python-fire/pull/141/commits/632232eea9754c0eacd3289635b1380cbda391f6
632232ehttps://github.com/google/python-fire/pull/141/commits/632232eea9754c0eacd3289635b1380cbda391f6
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 5, 2018 https://github.com/google/python-fire/pull/141#pullrequestreview-161883693
View reviewed changes https://github.com/google/python-fire/pull/141/files/632232eea9754c0eacd3289635b1380cbda391f6
fire/core.pyhttps://github.com/google/python-fire/pull/141/files/c73064a790d75d0ac78fca53aaa81a2dfc1c2677..632232eea9754c0eacd3289635b1380cbda391f6#diff-6e71ec955d67ac88066d77413af38a8043e03fbb28835c40e70c8d804e61f403
dbieberhttps://github.com/dbieber
Oct 5, 2018https://github.com/google/python-fire/pull/141#discussion_r222887226
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/python-fire/pull/141
alexshadleyhttps://github.com/alexshadley
Oct 5, 2018https://github.com/google/python-fire/pull/141#discussion_r222887497
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/python-fire/pull/141
alexshadleyhttps://github.com/alexshadley
October 4, 2018 23:05https://github.com/google/python-fire/pull/141#commits-pushed-b95921b
https://github.com/alexshadley
formatting fixeshttps://github.com/google/python-fire/pull/141/commits/b95921b9e1327cc3f74747cd56835daaba885174
b95921bhttps://github.com/google/python-fire/pull/141/commits/b95921b9e1327cc3f74747cd56835daaba885174
https://github.com/alexshadley
fixes commenthttps://github.com/google/python-fire/pull/141/commits/12100e29fa836560607fc42c315144c530907991
12100e2https://github.com/google/python-fire/pull/141/commits/12100e29fa836560607fc42c315144c530907991
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 5, 2018https://github.com/google/python-fire/pull/141#issuecomment-427240538
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 5, 2018 https://github.com/google/python-fire/pull/141#pullrequestreview-161884545
View reviewed changes https://github.com/google/python-fire/pull/141/files/12100e29fa836560607fc42c315144c530907991
fire/core.pyhttps://github.com/google/python-fire/pull/141/files/12100e29fa836560607fc42c315144c530907991#diff-6e71ec955d67ac88066d77413af38a8043e03fbb28835c40e70c8d804e61f403
dbieberhttps://github.com/dbieber
Oct 5, 2018https://github.com/google/python-fire/pull/141#discussion_r222887976
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/python-fire/pull/141
alexshadleyhttps://github.com/alexshadley
Oct 5, 2018https://github.com/google/python-fire/pull/141#discussion_r222888469
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/python-fire/pull/141
dbieberhttps://github.com/dbieber
Oct 5, 2018https://github.com/google/python-fire/pull/141#discussion_r222889258
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/python-fire/pull/141
alexshadleyhttps://github.com/alexshadley
Oct 5, 2018https://github.com/google/python-fire/pull/141#discussion_r222889381
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/alexshadley
more formatting fixeshttps://github.com/google/python-fire/pull/141/commits/604be4280698b6255d177f296fcbaecc11e954fa
604be42https://github.com/google/python-fire/pull/141/commits/604be4280698b6255d177f296fcbaecc11e954fa
https://github.com/alexshadley
alexshadleyhttps://github.com/alexshadley
Oct 5, 2018https://github.com/google/python-fire/pull/141#issuecomment-427241957
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 5, 2018https://github.com/google/python-fire/pull/141#issuecomment-427242133
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/alexshadley
alexshadleyhttps://github.com/alexshadley
Oct 5, 2018https://github.com/google/python-fire/pull/141#issuecomment-427245183
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 5, 2018https://github.com/google/python-fire/pull/141#issuecomment-427458595
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
0a6bb9dhttps://github.com/google/python-fire/commit/0a6bb9d75488751746aae7b4b54c3bab57408c4a
Oct 5, 2018https://github.com/google/python-fire/pull/141#event-1887827232
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 5, 2018https://github.com/google/python-fire/pull/141#issuecomment-427459173
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 5, 2018https://github.com/google/python-fire/pull/141#issuecomment-427459328
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 6, 2018https://github.com/google/python-fire/pull/141#issuecomment-427614249
Please reload this pagehttps://github.com/google/python-fire/pull/141
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/alexshadley
alexshadleyhttps://github.com/alexshadley
Oct 9, 2018https://github.com/google/python-fire/pull/141#issuecomment-428021875
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 9, 2018https://github.com/google/python-fire/pull/141#issuecomment-428021953
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 9, 2018https://github.com/google/python-fire/pull/141#issuecomment-428022232
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 9, 2018https://github.com/google/python-fire/pull/141#issuecomment-428022413
Please reload this pagehttps://github.com/google/python-fire/pull/141
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 9, 2018https://github.com/google/python-fire/pull/141#issuecomment-428023061
Please reload this pagehttps://github.com/google/python-fire/pull/141
0b0f242https://github.com/google/python-fire/commit/0b0f2421ea8edcc11a80aadb1f574d687e94664f
fe1fda4https://github.com/google/python-fire/commit/fe1fda46d9ae2495920a0b7e78ecf7bb054fe727
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/alexshadley
alexshadleyhttps://github.com/alexshadley
Oct 9, 2018https://github.com/google/python-fire/pull/141#issuecomment-428024264
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/dbieber
dbieberhttps://github.com/dbieber
Oct 9, 2018https://github.com/google/python-fire/pull/141#issuecomment-428025618
#102https://github.com/google/python-fire/issues/102
#97https://github.com/google/python-fire/issues/97
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/pranavgupta1234
pranavgupta1234https://github.com/pranavgupta1234
Mar 30, 2019 https://github.com/google/python-fire/pull/141#ref-pullrequest-427131944
Integrate pythonfire kapicorp/kapitan#253 https://github.com/kapicorp/kapitan/pull/253
https://github.com/ConorSheehan1
ConorSheehan1https://github.com/ConorSheehan1
Feb 4, 2021 https://github.com/google/python-fire/pull/141#ref-issue-801688510
Feature request short arguments in help text #317 https://github.com/google/python-fire/issues/317
https://github.co/hiddenchars
https://github.com/google/python-fire/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%2Fgoogle%2Fpython-fire%2Fpull%2F141
https://github.com/dbieber
dbieber https://github.com/dbieber
https://github.com/google/python-fire/pull/141/files/604be4280698b6255d177f296fcbaecc11e954fa
Please reload this pagehttps://github.com/google/python-fire/pull/141
Please reload this pagehttps://github.com/google/python-fire/pull/141
https://github.com/alexshadley
https://github.com/dbieber
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.