ente/cli/cmd/export.go

20 lines
313 B
Go
Raw Normal View History

2023-10-18 06:47:46 +00:00
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.Export()
2023-10-18 06:47:46 +00:00
},
}
func init() {
rootCmd.AddCommand(exportCmd)
}