Skip to main content

infrahub upgrade

Upgrade Infrahub to the latest version.

Usage:

$ infrahub upgrade [OPTIONS] [CONFIG_FILE]

Arguments:

  • [CONFIG_FILE]: [env var: INFRAHUB_CONFIG;default: infrahub.toml]

Options:

  • --check / --no-check: Check the state of the system without upgrading. [default: no-check]
  • --rebase-branches / --no-rebase-branches: Rebase and apply migrations to branches if required. [default: no-rebase-branches]
  • --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.