Title: Completions for CLI · Issue #1119 · pre-commit/pre-commit · GitHub
Open Graph Title: Completions for CLI · Issue #1119 · pre-commit/pre-commit
X Title: Completions for CLI · Issue #1119 · pre-commit/pre-commit
Description: Following up on #1118, it would be great to have cross-shell completions for the CLI. These could be statically autogenerated from the output of --help options. Would be great to have cross-shell completions (bash, zsh, fish, powershell)...
Open Graph Description: Following up on #1118, it would be great to have cross-shell completions for the CLI. These could be statically autogenerated from the output of --help options. Would be great to have cross-shell c...
X Description: Following up on #1118, it would be great to have cross-shell completions for the CLI. These could be statically autogenerated from the output of --help options. Would be great to have cross-shell c...
Opengraph URL: https://github.com/pre-commit/pre-commit/issues/1119
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Completions for CLI","articleBody":"Following up on #1118, it would be great to have cross-shell completions for the CLI. \r\n\r\nThese could be statically autogenerated from the output of --help options.\r\n\r\nWould be great to have\r\n1. cross-shell completions (bash, zsh, fish, powershell)\r\n2. help introspection where supported i.e. \r\n```\r\npre-commit i\u003cTAB>\r\ninstall (Install the pre-commit script) install-hooks (Install hook environments...)\r\n```\r\n\r\n3. complete for installed hooks (i.e.\r\n```\r\npre-commit run check-\u003cTAB>\r\ncheck-added-large-files (Prevent giant files from being committed.)\r\ncheck-ast (Simply check whether the files parse as valid python.)\r\ncheck-toml (This hook checks toml files for parseable syntax.)\r\n```\r\n4. a command line option to install the completions (i.e. `pre-commit install-completions --shell zsh`).","author":{"url":"https://github.com/lewisacidic","@type":"Person","name":"lewisacidic"},"datePublished":"2019-08-15T15:38:06Z","url":"https://github.com/pre-commit/pre-commit/issues/1119"}
| 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:1c35c01f-be96-d34b-ff9f-305d359cdf8d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D19C:3D2C49:1453260:1AD7EF8:6B066273 |
| html-safe-nonce | 46f0219cda9e1b8d218814846d883f4542aa6a3aaa9d98131cd607b3ba85fd92 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTlDOjNEMkM0OToxNDUzMjYwOjFBRDdFRjg6NkIwNjYyNzMiLCJ2aXNpdG9yX2lkIjoiNjA2MzY1NjgwNzYzNjAzNDE2NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | ef10cec3a1ef0a54c69ec35153e8c94ff9b75ef83ab50aa9a615c73cd6491f96 |
| hovercard-subject-tag | issue:481210494 |
| github-keyboard-shortcuts | repository,issues,commits,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/pre-commit/pre-commit/1119/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1c147a6c4344ce70adeaa288d22cd29a0e5d4d9f2d7c3a7985dc46d7f244807/pre-commit/pre-commit/issues/1119 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1c147a6c4344ce70adeaa288d22cd29a0e5d4d9f2d7c3a7985dc46d7f244807/pre-commit/pre-commit/issues/1119 |
| og:image:alt | Following up on #1118, it would be great to have cross-shell completions for the CLI. These could be statically autogenerated from the output of --help options. Would be great to have cross-shell c... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lewisacidic |
| hostname | github.com |
| expected-hostname | github.com |
| None | 6324e6ac990fb6befbec840cc0e102a1071c339bfe8f9826bb12de2e3ba1d297 |
| turbo-cache-control | no-preview |
| go-import | github.com/pre-commit/pre-commit git https://github.com/pre-commit/pre-commit.git |
| octolytics-dimension-user_id | 6943086 |
| octolytics-dimension-user_login | pre-commit |
| octolytics-dimension-repository_id | 17689377 |
| octolytics-dimension-repository_nwo | pre-commit/pre-commit |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 17689377 |
| octolytics-dimension-repository_network_root_nwo | pre-commit/pre-commit |
| 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 | 7f0aa75f4141d440c6110dc31af7ea7797abb6c4 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width