Title: No way to add shortened options (e.g. '-R/--recursive') · Issue #108 · google/python-fire · GitHub
Open Graph Title: No way to add shortened options (e.g. '-R/--recursive') · Issue #108 · google/python-fire
X Title: No way to add shortened options (e.g. '-R/--recursive') · Issue #108 · google/python-fire
Description: Would it be possible to create short names for default boolean arguments? For example, if you have the following function: def hello(greeting, uppercase=False): greeting = greeting.upper() if uppercase else greeting print(greeting) It wo...
Open Graph Description: Would it be possible to create short names for default boolean arguments? For example, if you have the following function: def hello(greeting, uppercase=False): greeting = greeting.upper() if upper...
X Description: Would it be possible to create short names for default boolean arguments? For example, if you have the following function: def hello(greeting, uppercase=False): greeting = greeting.upper() if upper...
Opengraph URL: https://github.com/google/python-fire/issues/108
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"No way to add shortened options (e.g. '-R/--recursive')","articleBody":"Would it be possible to create short names for default boolean arguments?\r\n\r\nFor example, if you have the following function:\r\n```python\r\ndef hello(greeting, uppercase=False):\r\n greeting = greeting.upper() if uppercase else greeting\r\n print(greeting)\r\n```\r\n\r\nIt would be nice to have the following usages:\r\n`python hello.py Hey! -u` \r\n`python hello.py Hey! --uppercase` ","author":{"url":"https://github.com/alexpilk","@type":"Person","name":"alexpilk"},"datePublished":"2018-01-02T14:07:54Z","url":"https://github.com/google/python-fire/issues/108"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:d4ddf6bd-d7c3-c25c-bc9e-684cf47cd281 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB4C:302FC:42830F:592279:6B002B82 |
| html-safe-nonce | 581667d0db2abcdbf02e5408cf547c5ac4f035019d8fce1b47cd80711bb35250 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjRDOjMwMkZDOjQyODMwRjo1OTIyNzk6NkIwMDJCODIiLCJ2aXNpdG9yX2lkIjoiMTg3MjczMjIwMzg2ODIzNjY3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3951e9c5f01f3de30a410a878019e28180095594190ad1d02203cbb40e8fb140 |
| hovercard-subject-tag | issue:285437919 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/google/python-fire/108/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1bc272bbfe4670595cd8324178398f010db7f8948595603dd49ebecae0477fc6/google/python-fire/issues/108 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1bc272bbfe4670595cd8324178398f010db7f8948595603dd49ebecae0477fc6/google/python-fire/issues/108 |
| og:image:alt | Would it be possible to create short names for default boolean arguments? For example, if you have the following function: def hello(greeting, uppercase=False): greeting = greeting.upper() if upper... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | alexpilk |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/google/python-fire git https://github.com/google/python-fire.git |
| octolytics-dimension-user_id | 1342004 |
| octolytics-dimension-user_login | |
| octolytics-dimension-repository_id | 82729529 |
| octolytics-dimension-repository_nwo | google/python-fire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82729529 |
| octolytics-dimension-repository_network_root_nwo | google/python-fire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width