| 16 | ) |
| 17 | |
| 18 | type Command struct { |
| 19 | kingpinApp *kingpin.Application |
| 20 | globalFlags *flags.GlobalFlags |
| 21 | _commandFlags *Flags // NOTE: this name intentionally starts with underscore because main configuration (conf) should be used throughout Run() after merging them |
| 22 | awsClient *aws.Client |
| 23 | dockerClient *docker.Client |
| 24 | conf *config.Config |
| 25 | } |
| 26 | |
| 27 | func (c *Command) Init(ka *kingpin.Application, globalFlags *flags.GlobalFlags) *kingpin.CmdClause { |
| 28 | c.kingpinApp = ka |
nothing calls this directly
no outgoing calls
no test coverage detected