You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// resourceDownloadCmd represents the resource-download command
37
37
varresourceDownloadCmd=&cobra.Command{
38
-
Use: "resource-download",
39
-
Short: "Download resources (assets) from a local Flow or Neos installation to Beach",
40
-
Long: `resource-download
38
+
Use: "resource-download",
39
+
Short: "Download resources (assets) from a local Flow or Neos installation to Beach",
40
+
Long: `resource-download
41
41
42
42
This command downloads Flow resources from a Beach instance to a local Flow or Neos project.
43
43
@@ -56,127 +56,127 @@ Notes:
56
56
- existing data in the local Neos instance will be left unchanged
57
57
- older Beach instances may use a namespace called "beach"
58
58
`,
59
-
Args: cobra.ExactArgs(0),
60
-
Run: handleResourceDownloadRun,
59
+
Args: cobra.ExactArgs(0),
60
+
Run: handleResourceDownloadRun,
61
61
}
62
62
63
63
funcinit() {
64
-
resourceDownloadCmd.Flags().StringVar(&instanceIdentifier, "instance", "", "instance identifier of the Beach instance to download from, eg. 'instance-123abc45-def6-7890-abcd-1234567890ab'")
65
-
resourceDownloadCmd.Flags().StringVar(&projectNamespace, "namespace", "", "The project namespace of the Beach instance to download from, eg. 'beach-project-123abc45-def6-7890-abcd-1234567890ab'")
66
-
resourceDownloadCmd.Flags().StringVar(&clusterIdentifier, "cluster", "", "The cluster identifier of the Beach instance to download from, eg. 'h9acc4'")
67
-
resourceDownloadCmd.Flags().StringVar(&sourceBucketName, "bucket", "", "name of the bucket to download resources from")
68
-
resourceDownloadCmd.Flags().StringVar(&targetResourcesPath, "resources-path", "", "custom path where to store the downloaded resources, e.g. 'Data/Persistent/Protected'")
resourceDownloadCmd.Flags().StringVar(&instanceIdentifier, "instance", "", "instance identifier of the Beach instance to download from, eg. 'instance-123abc45-def6-7890-abcd-1234567890ab'")
65
+
resourceDownloadCmd.Flags().StringVar(&projectNamespace, "namespace", "", "The project namespace of the Beach instance to download from, eg. 'beach-project-123abc45-def6-7890-abcd-1234567890ab'")
66
+
resourceDownloadCmd.Flags().StringVar(&clusterIdentifier, "cluster", "", "The cluster identifier of the Beach instance to download from, eg. 'h9acc4'")
67
+
resourceDownloadCmd.Flags().StringVar(&sourceBucketName, "bucket", "", "name of the bucket to download resources from")
68
+
resourceDownloadCmd.Flags().StringVar(&targetResourcesPath, "resources-path", "", "custom path where to store the downloaded resources, e.g. 'Data/Persistent/Protected'")
0 commit comments