You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 command that will populate the autocomplete suggestions with a list of all agents owned by the currently logged in user.
coder ssh supports lots of formats so these completions will need to decide on just one, such as <workspace>.<agent>.
However, <workspace> aliases should also be added to the list for single-agent workspaces, since most workspaces are single-agent.
Activity
[-]Add tabs completion to `coder ssh`[/-][+]Add tab completions to `coder ssh`[/+]github-actions commentedon Oct 3, 2025
Task created: https://dev.coder.com/tasks/matifali/traiage-gh-20158-18224193085
feat(cli): add dynamic completions for ssh command (#20171)