Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Aug 30, 2024. It is now read-only.
/coder-v1-cliPublic archive

Commit3c02dea

Browse files
author
Faris Huskovic
committed
Trail build logs if follow enabled for envs edit
1 parent9392b25 commit3c02dea

16 files changed

+72
-66
lines changed

‎docs/coder.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
coder provides a CLI for working with an existing Coder Enterprise installation
44

5-
###Synopsis
6-
7-
coder provides a CLI for working with an existing Coder Enterprise installation
8-
95
###Options
106

117
```

‎docs/coder_login.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Authenticate this client for future operations
44

5-
###Synopsis
6-
7-
Authenticate this client for future operations
8-
95
```
106
coder login [Coder Enterprise URL eg. https://my.coder.domain/] [flags]
117
```

‎docs/coder_logout.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Remove local authentication credentials if any exist
44

5-
###Synopsis
6-
7-
Remove local authentication credentials if any exist
8-
95
```
106
coder logout [flags]
117
```

‎docs/coder_secrets_ls.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
List all secrets owned by the active user
44

5-
###Synopsis
6-
7-
List all secrets owned by the active user
8-
95
```
106
coder secrets ls [flags]
117
```

‎docs/coder_secrets_rm.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Remove one or more secrets by name
44

5-
###Synopsis
6-
7-
Remove one or more secrets by name
8-
95
```
106
coder secrets rm [...secret_name] [flags]
117
```

‎docs/coder_secrets_view.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
View a secret by name
44

5-
###Synopsis
6-
7-
View a secret by name
8-
95
```
106
coder secrets view [secret_name] [flags]
117
```

‎docs/coder_sync.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Establish a one way directory sync to a Coder environment
44

5-
###Synopsis
6-
7-
Establish a one way directory sync to a Coder environment
8-
95
```
106
coder sync [local directory] [<env name>:<remote directory>] [flags]
117
```

‎docs/coder_urls.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Interact with environment DevURLs
44

5-
###Synopsis
6-
7-
Interact with environment DevURLs
8-
95
###Options
106

117
```

‎docs/coder_urls_create.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Create a new devurl for an environment
44

5-
###Synopsis
6-
7-
Create a new devurl for an environment
8-
95
```
106
coder urls create [env_name] [port] [--access <level>] [--name <name>] [flags]
117
```

‎docs/coder_urls_ls.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
List all DevURLs for an environment
44

5-
###Synopsis
6-
7-
List all DevURLs for an environment
8-
95
```
106
coder urls ls [environment_name] [flags]
117
```

‎docs/coder_urls_rm.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Remove a dev url
44

5-
###Synopsis
6-
7-
Remove a dev url
8-
95
```
106
coder urls rm [environment_name] [port] [flags]
117
```

‎docs/coder_users.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
Interact with Coder user accounts
44

5-
###Synopsis
6-
7-
Interact with Coder user accounts
8-
95
###Options
106

117
```

‎docs/coder_users_ls.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22

33
list all user accounts
44

5-
###Synopsis
6-
7-
list all user accounts
8-
95
```
106
coder users ls [flags]
117
```

‎go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,14 @@ require (
77
cdr.dev/wsepv0.0.0-20200728013649-82316a09813f
88
github.com/briandowns/spinnerv1.11.1
99
github.com/fatih/colorv1.9.0
10-
github.com/gorilla/websocketv1.4.1
10+
github.com/gorilla/websocketv1.4.2
1111
github.com/kirsle/configdirv0.0.0-20170128060238-e45d2f54772f
1212
github.com/klauspost/compressv1.10.8// indirect
1313
github.com/manifoldco/promptuiv0.7.0
1414
github.com/mattn/go-colorablev0.1.8// indirect
1515
github.com/pkg/browserv0.0.0-20180916011732-0a3d74bf9ce4
1616
github.com/rjeczalik/notifyv0.9.2
17-
github.com/spf13/cobrav1.0.0
17+
github.com/spf13/cobrav1.1.1
1818
github.com/stretchr/testifyv1.6.1
1919
golang.org/x/cryptov0.0.0-20200622213623-75b288015ac9
2020
golang.org/x/netv0.0.0-20200822124328-c89045814202// indirect

‎go.sum

Lines changed: 64 additions & 12 deletions
Large diffs are not rendered by default.

‎internal/cmd/envs.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,12 @@ coder envs edit back-end-env --disk 20`,
298298
clog.BlankLine,
299299
clog.Tipf(`run "coder envs watch-build %q" to trail the build logs`,envName),
300300
)
301+
302+
iffollow {
303+
iferr:=trailBuildLogs(cmd.Context(),client,env.ID);err!=nil {
304+
returnerr
305+
}
306+
}
301307
returnnil
302308
},
303309
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp