This repository was archived by the owner on Aug 30, 2024. It is now read-only.
File tree 1 file changed +2
-55
lines changed
1 file changed +2
-55
lines changed Original file line number Diff line number Diff line change 2
2
3
3
` coder ` is a command line utility for Coder Enterprise.
4
4
5
- ## Install
6
-
7
- ``` go
8
- go get cdr.dev /coder-cli/cmd/coder
9
- ```
10
-
11
- ## Login
12
- ``` shell script
13
- $ coder login https://my-coder-enterprise.com
14
- ```
15
-
16
- ## Setting up a Live Sync
17
-
18
- ` coder sync ` is useful in cases where you want to use an unsupported IDE with your Coder
19
- Environment.
20
-
21
- Ensure that ` rsync ` is installed locally and in your environment.
22
-
23
- ``
24
- $ coder sync ~ /Projects/cdr/enterprise/. my-env:~ /enterprise
25
- ``
26
-
27
- ## Remote Terminal
28
-
29
- You can access your environment's terminal with ` coder sh <env> ` . You can also
30
- execute a command in your environment with ` coder sh <env> [command] [args] ` .
31
-
32
- ## Environments
33
-
34
- List all active environments for the user.
35
-
36
- ``
37
- $ coder envs
38
- ``
39
-
40
- ## Development URLs
41
-
42
- You can retrieve the devurl of an environment.
43
-
44
- ``
45
- $ coder url my-env 8080
46
- ``
47
-
48
- ## Caveats
49
-
50
- - The ` coder login ` flow will not work when the CLI is ran from a different network
51
- than the browser. [ Issue] ( https://github.com/cdr/coder-cli/issues/1 )
52
-
53
- ## Sync Architecture
54
-
55
- We decided to use ` rsync ` because other solutions are extremely slow for the initial
56
- sync.
57
-
58
- Later, we may use ` mutagen ` for a two-way sync alternative when
59
- it supports custom transports.
5
+ To view usage documentation, head over to [ https://enterprise.coder.com ] ( https://enterprise.coder.com/docs/getting-started ) .
60
6
7
+ To report bugs and request features, please [ open an issue] ( https://github.com/cdr/coder-cli/issues/new ) .
You can’t perform that action at this time.
0 commit comments