Title: help page shows unwanted information about groups · Issue #204 · google/python-fire · GitHub
Open Graph Title: help page shows unwanted information about groups · Issue #204 · google/python-fire
X Title: help page shows unwanted information about groups · Issue #204 · google/python-fire
Description: I have a file called neptune that just has some standalone functions, no classes or groups. I create my cli by doing if __name__ == '__main__': fire.Fire() When I do neptune --help, I see I don't understand why it says f - "Character and...
Open Graph Description: I have a file called neptune that just has some standalone functions, no classes or groups. I create my cli by doing if __name__ == '__main__': fire.Fire() When I do neptune --help, I see I don't u...
X Description: I have a file called neptune that just has some standalone functions, no classes or groups. I create my cli by doing if __name__ == '__main__': fire.Fire() When I do neptune --help, I see I...
Opengraph URL: https://github.com/google/python-fire/issues/204
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"help page shows unwanted information about groups","articleBody":"I have a file called `neptune` that just has some standalone functions, no classes or groups.\r\n\r\nI create my cli by doing\r\n```\r\nif __name__ == '__main__':\r\n fire.Fire()\r\n```\r\n\r\nWhen I do `neptune --help`, I see\r\n\r\n\r\n\r\nI don't understand why it says\r\n\r\nf - \"Character and line based layer over a BufferedIOBase object, buffer\"\r\n\r\nI don't want to see that information about the `f` group when I do `neptune --help`\r\n\r\nA workaround I came up with was to do this instead\r\n```\r\nif __name__ == '__main__':\r\n fire.Fire({\r\n 'cmd1': cmd1,\r\n 'cmd2': cmd2,\r\n ...\r\n })\r\n```\r\nThis doesn't seem intuitive.\r\n\r\nI'd be happy to help fix this if someone wants to point me in the right direction!","author":{"url":"https://github.com/onprema","@type":"Person","name":"onprema"},"datePublished":"2019-10-11T20:34:40Z","url":"https://github.com/google/python-fire/issues/204"}
| 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:aebdd095-eb6b-2c11-3424-a94766513254 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B120:CB66E:9E71EA:CE09FD:6AFFE7A0 |
| html-safe-nonce | 267bc58eecc4921543c642cdefecc0def3481a0e632066e2e709e5f455f52bf3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMTIwOkNCNjZFOjlFNzFFQTpDRTA5RkQ6NkFGRkU3QTAiLCJ2aXNpdG9yX2lkIjoiMjc2NjI4OTM1NjU0ODIwNDQ0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7b27e92dd6aa2c9dca601c9d97b1505ef01986c8a962210321527db8b567d0e2 |
| hovercard-subject-tag | issue:506046248 |
| 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/204/issue_layout |
| twitter:image | https://opengraph.githubassets.com/6fa55550932b3bfa3e7dae101ccc0b1eae2833bd45f2380daee2a852013bac4d/google/python-fire/issues/204 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/6fa55550932b3bfa3e7dae101ccc0b1eae2833bd45f2380daee2a852013bac4d/google/python-fire/issues/204 |
| og:image:alt | I have a file called neptune that just has some standalone functions, no classes or groups. I create my cli by doing if __name__ == '__main__': fire.Fire() When I do neptune --help, I see I don't u... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | onprema |
| hostname | github.com |
| expected-hostname | github.com |
| None | 0a0d8686a27478df474dd7415776a7a080cde8838b3cd92ea7601187572e5729 |
| 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 | 16a11879678aaf97e2a42c33ee70830aa084fa37 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width