(f factory.Factory, globalFlags *flags.GlobalFlags)
| 16 | } |
| 17 | |
| 18 | func newSyncCmd(f factory.Factory, globalFlags *flags.GlobalFlags) *cobra.Command { |
| 19 | cmd := &syncCmd{GlobalFlags: globalFlags} |
| 20 | |
| 21 | syncCmd := &cobra.Command{ |
| 22 | Use: "sync", |
| 23 | Short: "Lists sync configuration", |
| 24 | Long: ` |
| 25 | ####################################################### |
| 26 | ################# devspace list sync ################## |
| 27 | ####################################################### |
| 28 | Lists the sync configuration |
| 29 | ####################################################### |
| 30 | `, |
| 31 | Args: cobra.NoArgs, |
| 32 | RunE: func(cobraCmd *cobra.Command, args []string) error { |
| 33 | return cmd.RunListSync(f, cobraCmd, args) |
| 34 | }} |
| 35 | |
| 36 | return syncCmd |
| 37 | } |
| 38 | |
| 39 | // RunListSync runs the list sync command logic |
| 40 | func (cmd *syncCmd) RunListSync(f factory.Factory, cobraCmd *cobra.Command, args []string) error { |
no test coverage detected