Skip to main content

diagrid appid example

Print an example appid resource

Description

Print an example appid resource.

The example is a valid, minimal appid you can edit and apply with "diagrid apply -f <file>". It is read from the spec embedded in the CLI, so no project or login is needed. Use "diagrid appid schema" for the full field reference.

diagrid appid example [flags]

Examples


# Print an example appid as YAML
diagrid appid example

# Bootstrap a new resource file from the example
diagrid appid example > appid.yaml

Options

-h, --help help for example
-o, --output string Output format, supported [yaml, json] (default "yaml")

Options inherited from parent commands

--api-key string Diagrid Cloud API key

SEE ALSO