(p *ProjectOptions, dockerCli command.Cli)
| 34 | ) |
| 35 | |
| 36 | func bridgeCommand(p *ProjectOptions, dockerCli command.Cli) *cobra.Command { |
| 37 | cmd := &cobra.Command{ |
| 38 | Use: "bridge CMD [OPTIONS]", |
| 39 | Short: "Convert compose files into another model", |
| 40 | TraverseChildren: true, |
| 41 | } |
| 42 | cmd.AddCommand( |
| 43 | convertCommand(p, dockerCli), |
| 44 | transformersCommand(dockerCli), |
| 45 | ) |
| 46 | return cmd |
| 47 | } |
| 48 | |
| 49 | func convertCommand(p *ProjectOptions, dockerCli command.Cli) *cobra.Command { |
| 50 | convertOpts := bridge.ConvertOptions{} |
no test coverage detected