-
Notifications
You must be signed in to change notification settings - Fork 887
feat: add custom coder bin path for ProxyCommand #8425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small suggestions, but otherwise looks good.
cli/configssh.go
Outdated
@@ -501,6 +508,14 @@ func (r *RootCmd) configSSH() *clibase.Cmd { | |||
Description: "Specifies the path to an SSH config.", | |||
Value: clibase.StringOf(&sshConfigFile), | |||
}, | |||
{ | |||
Flag: "coder-cli-path", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about just using binary-path
(without prefix)? I feel like cli
terminology isn't something we expose the users to in association with the coder
command, and may cause a disconnect.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One thing I was trying to make clear in the flag was this was the coder
binary path, not anything else like the ssh
binary.
Is coder-binary-path
too long?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nah, not too long IMO, your reasoning makes sense 👍🏻
smart to force it to be absolute 👍. As for who will use it. It is definitely an edge case that I am only adding because someone specifically requested it and it doesn't seem like too much to add. |
Closes #8217