Skip to content

Commit

Permalink
add sync command
Browse files Browse the repository at this point in the history
  • Loading branch information
jsbroks committed Nov 24, 2024
1 parent 200575b commit dd181db
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions cmd/ctrlc/root/sync/sync.go
Original file line number Diff line number Diff line change
@@ -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 <integration>",
Short: "Sync resources into Ctrlplane",
Example: heredoc.Doc(`
$ ctrlc sync aws-eks
$ ctrlc sync google-gke
`),
}

return cmd
}

0 comments on commit dd181db

Please sign in to comment.