mirror of
https://github.com/docker/compose.git
synced 2026-08-31 06:49:15 +00:00
Add status field in CLI metrics : success, failure, cancelled
Signed-off-by: Guillaume Tardif <guillaume.tardif@docker.com>
This commit is contained in:
parent
10372b7098
commit
3ccc603461
12 changed files with 53 additions and 29 deletions
|
|
@ -70,7 +70,7 @@ $ docker context create my-context --description "some description" --docker "ho
|
|||
Use: "create CONTEXT",
|
||||
Short: "Create new context",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
mobycli.Exec()
|
||||
mobycli.Exec(cmd.Root())
|
||||
return nil
|
||||
},
|
||||
Long: longHelp,
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ func inspectCommand() *cobra.Command {
|
|||
Use: "inspect",
|
||||
Short: "Display detailed information on one or more contexts",
|
||||
RunE: func(cmd *cobra.Command, args []string) error {
|
||||
mobycli.Exec()
|
||||
mobycli.Exec(cmd.Root())
|
||||
return nil
|
||||
},
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,7 +69,7 @@ func runList(cmd *cobra.Command, opts lsOpts) error {
|
|||
return err
|
||||
}
|
||||
if opts.format != "" {
|
||||
mobycli.Exec()
|
||||
mobycli.Exec(cmd.Root())
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue