diff --git a/cmd/ctrlc/root/sync/sync.go b/cmd/ctrlc/root/sync/sync.go new file mode 100644 index 0000000..58a71eb --- /dev/null +++ b/cmd/ctrlc/root/sync/sync.go @@ -0,0 +1,19 @@ +package sync + +import ( + "github.com/MakeNowJust/heredoc/v2" + "github.com/spf13/cobra" +) + +func NewRootCmd() *cobra.Command { + cmd := &cobra.Command{ + Use: "sync ", + Short: "Sync resources into Ctrlplane", + Example: heredoc.Doc(` + $ ctrlc sync aws-eks + $ ctrlc sync google-gke + `), + } + + return cmd +}