Skip to content

resource

shrine generate resource

Generate a new resource manifest

Synopsis

Create a skeleton resource manifest YAML file in the specified directory.

shrine generate resource [name] [flags]

Options

      --expose           Expose Toplatform network
  -h, --help             help for resource
  -t, --team string      Team that owns the resource (default "default-team")
      --type string      Type of resource (default "postgres")
      --version string   Version of the resource (default "16")

Options inherited from parent commands

      --config-dir string   Configuration directory (searched in order: ~/.config/shrine, ~/.shrine.conf.yml, /etc/shrine)
  -p, --path string         Directory to write the manifest to (overrides specsDir in config.yml)
      --state-dir string    State directory (default is ~/.local/share/shrine or /var/lib/shrine)

SEE ALSO