René's URL Explorer Experiment


Title: Feature request short arguments in help text · Issue #317 · google/python-fire · GitHub

Open Graph Title: Feature request short arguments in help text · Issue #317 · google/python-fire

X Title: Feature request short arguments in help text · Issue #317 · google/python-fire

Description: Saw short arguments were added in #141, which looks great! I was wondering if it'd be possible to include the short args in help text too? I was thinking something like, given: # foo.py import fire def func(foo=False, bar='bar', baz='dup...

Open Graph Description: Saw short arguments were added in #141, which looks great! I was wondering if it'd be possible to include the short args in help text too? I was thinking something like, given: # foo.py import fire...

X Description: Saw short arguments were added in #141, which looks great! I was wondering if it'd be possible to include the short args in help text too? I was thinking something like, given: # foo.py import ...

Opengraph URL: https://github.com/google/python-fire/issues/317

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature request short arguments in help text","articleBody":"Saw short arguments were added in #141, which looks great!\r\n \r\nI was wondering if it'd be possible to include the short args in help text too?\r\n\r\nI was thinking something like, given:\r\n```python\r\n# foo.py\r\nimport fire\r\n\r\ndef func(foo=False, bar='bar', baz='dupe'):\r\n    pass\r\n\r\nif __name__ == '__main__':\r\n    fire.Fire(func)\r\n```\r\nThe output could change like this:\r\n```diff\r\n# python foo.py --help\r\n FLAGS\r\n-    --foo=FOO\r\n+    -f, --foo=FOO\r\n         Default: False\r\n     --bar=BAR\r\n         Default: 'bar'\r\n     --baz=BAZ\r\n         Default: 'dupe'\r\n```\r\nI'd be happy to try and pr this myself if you think it's worth adding?\r\n","author":{"url":"https://github.com/ConorSheehan1","@type":"Person","name":"ConorSheehan1"},"datePublished":"2021-02-04T22:38:03Z","url":"https://github.com/google/python-fire/issues/317"}

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/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:16635273-96fe-adaa-dffc-b059210edfcd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idCD6E:2B9B04:2D83B2C:3C1CC5C:6B00223A
html-safe-nonceb6d2031e441635ecf1263190e71a98353b48859e083a9207f316020b9b952b13
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDZFOjJCOUIwNDoyRDgzQjJDOjNDMUNDNUM6NkIwMDIyM0EiLCJ2aXNpdG9yX2lkIjoiNzQ2MjU4Nzg2NzA4OTM0NzEzMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmacdbcfa1a8d1dd7d09535118a1150faaeafc947e0d36ca7ffb52305eebdf9a6ace
hovercard-subject-tagissue:801688510
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/google/python-fire/317/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a33c08a25fcd3c3c15ce009b16e1f29a1eac2a59c1055bacc5af6715eb5bbaf8/google/python-fire/issues/317
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a33c08a25fcd3c3c15ce009b16e1f29a1eac2a59c1055bacc5af6715eb5bbaf8/google/python-fire/issues/317
og:image:altSaw short arguments were added in #141, which looks great! I was wondering if it'd be possible to include the short args in help text too? I was thinking something like, given: # foo.py import fire...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameConorSheehan1
hostnamegithub.com
expected-hostnamegithub.com
None4eb4cba0d69f045374ac15de9666d22b0961e1d555cc3824f36b7734c00c78e0
turbo-cache-controlno-preview
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-nameissues

Links:

Skip to contenthttps://github.com/google/python-fire/issues/317#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogle%2Fpython-fire%2Fissues%2F317
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%2Fissues%2F317
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=google%2Fpython-fire
Reloadhttps://github.com/google/python-fire/issues/317
Reloadhttps://github.com/google/python-fire/issues/317
Reloadhttps://github.com/google/python-fire/issues/317
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
New issuehttps://github.com/login?return_to=https://github.com/google/python-fire/issues/317
New issuehttps://github.com/login?return_to=https://github.com/google/python-fire/issues/317
#318https://github.com/google/python-fire/pull/318
Feature request short arguments in help texthttps://github.com/google/python-fire/issues/317#top
#318https://github.com/google/python-fire/pull/318
https://github.com/ConorSheehan1
ConorSheehan1https://github.com/ConorSheehan1
on Feb 4, 2021https://github.com/google/python-fire/issues/317#issue-801688510
#141https://github.com/google/python-fire/pull/141
dbieberhttps://github.com/dbieber
completedhttps://github.com/google/python-fire/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#318https://github.com/google/python-fire/pull/318
on Dec 9, 2022https://github.com/google/python-fire/issues/317#event-8001836571
dbieberhttps://github.com/dbieber
on Dec 9, 2022https://github.com/google/python-fire/issues/317#event-8001836595
Fix #317 Help text short args (#318)https://github.com/google/python-fire/commit/0ad057143b326f78398fbc9a3840d9d6b378e0be
#317https://github.com/google/python-fire/issues/317
#318https://github.com/google/python-fire/pull/318
https://docs.github.com/articles/closing-issues-via-commit-messages
0ad0571https://github.com/google/python-fire/commit/0ad057143b326f78398fbc9a3840d9d6b378e0be
https://github.com/HansTanzi
HansTanzihttps://github.com/HansTanzi
on Mar 15, 2024https://github.com/google/python-fire/issues/317#issuecomment-1999034137
Sign up for freehttps://github.com/signup?return_to=https://github.com/google/python-fire/issues/317
Sign in to commenthttps://github.com/login?return_to=https://github.com/google/python-fire/issues/317
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.