Skip to main content

ory update opl

ory update opl

Update the Ory Permission Language file in Ory Network

Synopsis

Update the Ory Permission Language file in Ory Network. Legacy namespace definitions will be overwritten.

ory update opl <project-id> [flags]

Examples

$ {{ .CommandPath }} ecaaa3cb-0730-4ee8-a6df-9553cdfeef89 \
--file /path/to/namespace_config.ts

class Example implements Namespace {}

Options

  -f, --file string      Configuration file (file://namespace_config.ts, https://example.org/namespace_config.ts, ...) to update the Ory Permission Language config
--format string Set the output format. One of table, json, yaml, json-pretty, and jsonpath. (default "default")
-h, --help help for opl
--project string The project to use, either project ID or a (partial) slug.
-q, --quiet Be quiet with output printing.
-y, --yes Confirm all dialogs with yes.

Options inherited from parent commands

  -c, --config string   Path to the Ory Network configuration file.

SEE ALSO