Skip to content

feat(cli): use CLI to interact with multiple servers #12576

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

Closed
dannykopping opened this issue Mar 13, 2024 · 3 comments
Closed

feat(cli): use CLI to interact with multiple servers #12576

dannykopping opened this issue Mar 13, 2024 · 3 comments
Labels
cli Area: CLI

Comments

@dannykopping
Copy link
Contributor

The coder CLI allows a --url argument to be passed, which might lead one to reasonably assume the CLI could be used to interact with multiple servers. However, this is not the case.

coder's config is not namespaced by URL.

$ ls -l '/Users/danny/Library/Application Support/coderv2/'
total 12
-rw------- 1 danny 347 Feb 17 17:07 devtunnel
drwxr-x--- 8 danny 256 Mar  5 13:26 postgres
-rw------- 1 danny  33 Mar 13 09:46 session
-rw------- 1 danny  21 Mar 13 09:46 url
@MrPeacockNLB
Copy link
Contributor

We've build a wrapper around coder CLI. This allows us to switch between different environments with ease. It is relative easy to archive with gum.

@matifali
Copy link
Member

Related to coder/vscode-coder#10, coder/vscode-coder#102, and coder/vscode-coder#173 as vscode uses the coder binary to connect via ProxyCommad

@stirby
Copy link
Collaborator

stirby commented May 31, 2024

Folding into #13325.

@stirby stirby closed this as completed May 31, 2024
@stirby stirby closed this as not planned Won't fix, can't repro, duplicate, stale May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli Area: CLI
Projects
None yet
Development

No branches or pull requests

4 participants