Add export command

This commit is contained in:
Neeraj Gupta 2023-10-18 12:17:46 +05:30
parent 341f032554
commit 28ddb06e2b

19
cmd/export.go Normal file
View file

@ -0,0 +1,19 @@
package cmd
import (
"github.com/spf13/cobra"
)
// versionCmd represents the version command
var exportCmd = &cobra.Command{
Use: "export",
Short: "Starts the export process",
Long: ``,
Run: func(cmd *cobra.Command, args []string) {
ctrl.StartSync()
},
}
func init() {
rootCmd.AddCommand(exportCmd)
}