File tree 2 files changed +7
-7
lines changed
2 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ func (r *rootCmd) Subcommands() []cli.Command {
36
36
& logoutCmd {},
37
37
& shellCmd {},
38
38
& syncCmd {},
39
- & urlCmd {},
39
+ & urlsCmd {},
40
40
& versionCmd {},
41
41
& configSSHCmd {},
42
42
}
Original file line number Diff line number Diff line change @@ -13,23 +13,23 @@ import (
13
13
"go.coder.com/flog"
14
14
)
15
15
16
- type urlCmd struct {}
16
+ type urlsCmd struct {}
17
17
18
18
type DevURL struct {
19
19
URL string `json:"url"`
20
20
Port string `json:"port"`
21
21
Access string `json:"access"`
22
22
}
23
23
24
- func (cmd urlCmd ) Spec () cli.CommandSpec {
24
+ func (cmd urlsCmd ) Spec () cli.CommandSpec {
25
25
return cli.CommandSpec {
26
- Name : "url " ,
27
- Usage : "<env name> <port> " ,
28
- Desc : "get a development url for external access" ,
26
+ Name : "urls " ,
27
+ Usage : "<env name>" ,
28
+ Desc : "get all development urls for external access" ,
29
29
}
30
30
}
31
31
32
- func (cmd urlCmd ) Run (fl * pflag.FlagSet ) {
32
+ func (cmd urlsCmd ) Run (fl * pflag.FlagSet ) {
33
33
var envName = fl .Arg (0 )
34
34
35
35
if envName == "" {
You can’t perform that action at this time.
0 commit comments