Skip to main content

diagrid export

Export resources to Dapr manifests

Description

Export Catalyst resources as Dapr manifests

diagrid export [flags]

Examples


# Export Catalyst resources as Dapr manifests
diagrid export --project my-project

# Export a specific component
diagrid export --component my-component --project my-project

# Export a specific app ID
diagrid export --appid my-app --project my-project

# Export a specific subscription
diagrid export --subscription my-sub --project my-project

# Export a specific resiliency policy
diagrid export --resiliency my-policy --project my-project

# Export a specific configuration
diagrid export --configuration my-config --project my-project

# Export to files instead of stdout
diagrid export --project my-project --out-dir ./exports

Options

  -p, --project string         Name of existing project
-o, --out-dir string Directory to write YAML files to. If unset, outputs to stdout
--component string Export a specific component by name
--appid string Export a specific app ID by name
--subscription string Export a specific subscription by name
--resiliency string Export a specific resiliency policy by name
--configuration string Export a specific configuration by name
-h, --help help for export