GeezerVison is showing github.com — Added more relevant examples and quotes to make examples work (#67) · PastureStack/cli@66de9b4
File treeExpand file treeCollapse file tree Open diff view settings Expand file treeCollapse file tree Open diff view settings Collapse file Copy file name to clipboardExpand all lines: cmd/catalog.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -24,7 +24,7 @@ func CatalogCommand() cli.Command { | 24 | 24 | }, | 25 | 25 | cli.StringFlag{ | 26 | 26 | Name: "format", | 27 | | - Usage: "'json' or Custom format: {{.Id}} {{.Name}}", | | 27 | + Usage: "'json' or Custom format: '{{.ID}} {{.Template.Id}}'", | 28 | 28 | }, | 29 | 29 | cli.BoolFlag{ | 30 | 30 | Name: "system,s", | |
Collapse file Copy file name to clipboardExpand all lines: cmd/env.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -19,7 +19,7 @@ func EnvCommand() cli.Command { | 19 | 19 | }, | 20 | 20 | cli.StringFlag{ | 21 | 21 | Name: "format", | 22 | | - Usage: "'json' or Custom format: {{.Id}} {{.Name}}", | | 22 | + Usage: "'json' or Custom format: '{{.ID}} {{.Environment.Name}}'", | 23 | 23 | }, | 24 | 24 | } | 25 | 25 |
| |
Collapse file Copy file name to clipboardExpand all lines: cmd/events.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -21,7 +21,7 @@ func EventsCommand() cli.Command { | 21 | 21 | Flags: []cli.Flag{ | 22 | 22 | cli.StringFlag{ | 23 | 23 | Name: "format", | 24 | | - Usage: "'json' or Custom format: {{.Id}} {{.Name}}", | | 24 | + Usage: "'json' or Custom format: '{{.Name}} {{.Data.resource.kind}}'", | 25 | 25 | }, | 26 | 26 | cli.BoolFlag{ | 27 | 27 | Name: "reconnect,r", | |
Collapse file Copy file name to clipboardExpand all lines: cmd/host.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -17,7 +17,7 @@ func HostCommand() cli.Command { | 17 | 17 | }, | 18 | 18 | cli.StringFlag{ | 19 | 19 | Name: "format", | 20 | | - Usage: "'json' or Custom format: {{.Id}} {{.Name}}", | | 20 | + Usage: "'json' or Custom format: '{{.ID}} {{.Host.Hostname}}'", | 21 | 21 | }, | 22 | 22 | } | 23 | 23 |
| |
Collapse file Copy file name to clipboardExpand all lines: cmd/inspect.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -31,7 +31,7 @@ Example: | 31 | 31 | }, | 32 | 32 | cli.StringFlag{ | 33 | 33 | Name: "format", | 34 | | - Usage: "'json' or Custom format: {{.Id}} {{.Name}}", | | 34 | + Usage: "'json' or Custom format: '{{.kind}}'", | 35 | 35 | Value: "json", | 36 | 36 | }, | 37 | 37 | }, | |
Collapse file Copy file name to clipboardExpand all lines: cmd/ps.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -29,7 +29,7 @@ func PsCommand() cli.Command { | 29 | 29 | }, | 30 | 30 | cli.StringFlag{ | 31 | 31 | Name: "format", | 32 | | - Usage: "'json' or Custom format: {{.Id}} {{.Name}}", | | 32 | + Usage: "'json' or Custom format: '{{.Service.Id}} {{.Service.Name}} {{.Service.LaunchConfig.ImageUuid}}'", | 33 | 33 | }, | 34 | 34 | }, | 35 | 35 | } | |
Collapse file Copy file name to clipboardExpand all lines: cmd/stack.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -21,7 +21,7 @@ func StackCommand() cli.Command { | 21 | 21 | }, | 22 | 22 | cli.StringFlag{ | 23 | 23 | Name: "format", | 24 | | - Usage: "'json' or Custom format: {{.Id}} {{.Name}}", | | 24 | + Usage: "'json' or Custom format: '{{.ID}} {{.Stack.Name}}'", | 25 | 25 | }, | 26 | 26 | } | 27 | 27 |
| |
Collapse file Copy file name to clipboardExpand all lines: cmd/volume.go +1-1Lines changed: 1 addition & 1 deletion | Original file line number | Diff line number | Diff line change |
|---|
@@ -18,7 +18,7 @@ func VolumeCommand() cli.Command { | 18 | 18 | }, | 19 | 19 | cli.StringFlag{ | 20 | 20 | Name: "format", | 21 | | - Usage: "'json' or Custom format: {{.Id}} {{.Name}}", | | 21 | + Usage: "'json' or Custom format: '{{.ID}} {{.Volume.Name}}'", | 22 | 22 | }, | 23 | 23 | } | 24 | 24 |
| |
|