Skip to content

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

Merged
merged 7 commits into from
Jul 13, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
make gen
  • Loading branch information
Emyrk committed Jul 13, 2023
commit d9e12859d8343374c82564b03ce98be55aced8fe
8 changes: 4 additions & 4 deletions cli/testdata/coder_config-ssh_--help.golden
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ Add an SSH Host entry for your workspaces "ssh coder.workspace"
 $ coder config-ssh --dry-run 

Options
--coder-cli-path string, $CODER_SSH_CONFIG_CLI_PATH
Optional to specify the path for the coder cli uses in ProxyCommand.
By default, the coder cli used is the same cli being invoked with
'config ssh'.
--coder-binary-path string, $CODER_SSH_CONFIG_BINARY_PATH
Optionally specify the absolute path to the coder binary used in
ProxyCommand. By default, the binary invoking this command ('config
ssh') is used.

-n, --dry-run bool, $CODER_SSH_DRY_RUN
Perform a trial run with no changes made, showing a diff at the end.
Expand Down
12 changes: 6 additions & 6 deletions docs/cli/config-ssh.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ coder config-ssh [flags]

## Options

### --coder-cli-path
### --coder-binary-path

| | |
| ----------- | --------------------------------------- |
| Type | <code>string</code> |
| Environment | <code>$CODER_SSH_CONFIG_CLI_PATH</code> |
| | |
| ----------- | ------------------------------------------ |
| Type | <code>string</code> |
| Environment | <code>$CODER_SSH_CONFIG_BINARY_PATH</code> |

Optional to specify the path for the coder cli uses in ProxyCommand. By default, the coder cli used is the same cli being invoked with 'config ssh'.
Optionally specify the absolute path to the coder binary used in ProxyCommand. By default, the binary invoking this command ('config ssh') is used.

### -n, --dry-run

Expand Down