Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Add export command

Neeraj Gupta28ddb06e2b26
diff --git a/cmd/export.go b/cmd/export.go
new file mode 100644
index 0000000000..fb850c2813
--- /dev/null
+++ b/cmd/export.go
@@ -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)
+}