Skip to main content

infrahubctl protocols

Export Python protocols corresponding to a schema.

Usage:

$ infrahubctl protocols [OPTIONS]

Options:

  • --branch TEXT: Branch of schema to export Python protocols for.
  • --config-file TEXT: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
  • --out TEXT: Path to a file to save the result. [default: schema_protocols.py]
  • --install-completion: Install completion for the current shell.
  • --show-completion: Show completion for the current shell, to copy it or customize the installation.
  • --help: Show this message and exit.