Title: Add tab completions to `coder ssh` · Issue #20158 · coder/coder · GitHub
Open Graph Title: Add tab completions to `coder ssh` · Issue #20158 · coder/coder
X Title: Add tab completions to `coder ssh` · Issue #20158 · coder/coder
Description: Currently, Coder CLI completions can be installed using coder completion. Right now this supports all commands and flags, but not any arguments or flag values. However, we can also supply a custom CompletionHandler to the coder ssh comma...
Open Graph Description: Currently, Coder CLI completions can be installed using coder completion. Right now this supports all commands and flags, but not any arguments or flag values. However, we can also supply a custom ...
X Description: Currently, Coder CLI completions can be installed using coder completion. Right now this supports all commands and flags, but not any arguments or flag values. However, we can also supply a custom ...
Opengraph URL: https://github.com/coder/coder/issues/20158
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add tab completions to `coder ssh`","articleBody":"Currently, Coder CLI completions can be installed using `coder completion`. Right now this supports all commands and flags, but not any arguments or flag values.\n\nHowever, we can also supply a custom `CompletionHandler` to the `coder ssh` command that will populate the autocomplete suggestions with a list of all agents owned by the currently logged in user. \n\n`coder ssh` supports lots of formats so these completions will need to decide on just one, such as `\u003cworkspace>.\u003cagent>`. \nHowever, `\u003cworkspace>` aliases should also be added to the list for single-agent workspaces, since most workspaces are single-agent.\n\ne.g.\n\n```\n$ coder ssh\u003cTAB>\ngolang-dev\nreact\ntesting.backend\ntesting.db\n```\n\n\nRelated to #14986, where tab completion support for `ssh coder.\u003cTAB>` was removed with the introduction of the wildcard ssh config.","author":{"url":"https://github.com/ethanndickson","@type":"Person","name":"ethanndickson"},"datePublished":"2025-10-03T06:17:32Z","url":"https://github.com/coder/coder/issues/20158"}
| 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:e271d460-aafa-a0b7-8bb1-2e8d6200b83b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BF42:384FAC:47FCA0:5F209F:6B0176C9 |
| html-safe-nonce | f7c34ef6982b0ac12f91e0dc5c33d8612893e24328e0e7ac4a1728f679799f30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjQyOjM4NEZBQzo0N0ZDQTA6NUYyMDlGOjZCMDE3NkM5IiwidmlzaXRvcl9pZCI6Ijg3MDI5NjYzMzkwNDU3ODMyNDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | d49b81797e1ab080d3ef87ce8dce09120618a9ef2ee2d806c247a4bcfc675b81 |
| hovercard-subject-tag | issue:3479937900 |
| 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/coder/coder/20158/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7dbf6a87a2cf4c39b975a598ba0d9786f24544a862ada85798d0c3119327bf24/coder/coder/issues/20158 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7dbf6a87a2cf4c39b975a598ba0d9786f24544a862ada85798d0c3119327bf24/coder/coder/issues/20158 |
| og:image:alt | Currently, Coder CLI completions can be installed using coder completion. Right now this supports all commands and flags, but not any arguments or flag values. However, we can also supply a custom ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ethanndickson |
| hostname | github.com |
| expected-hostname | github.com |
| None | cc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c |
| turbo-cache-control | no-preview |
| go-import | github.com/coder/coder git https://github.com/coder/coder.git |
| octolytics-dimension-user_id | 95932066 |
| octolytics-dimension-user_login | coder |
| octolytics-dimension-repository_id | 440752086 |
| octolytics-dimension-repository_nwo | coder/coder |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 440752086 |
| octolytics-dimension-repository_network_root_nwo | coder/coder |
| 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 | 8c77c9e8439031ad54c75a250694842892f693e1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width