Skip to main content

infrahubctl repository

Manage the repositories in a remote Infrahub instance.

List, create, delete ..

Usage:

$ infrahubctl repository [OPTIONS] COMMAND [ARGS]...

Options:

  • --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.

Commands:

  • add: Add a new repository.

infrahubctl repository add

Add a new repository.

Usage:

$ infrahubctl repository add [OPTIONS] NAME LOCATION

Arguments:

  • NAME: [required]
  • LOCATION: [required]

Options:

  • --description TEXT
  • --username TEXT
  • --password TEXT
  • --commit TEXT
  • --read-only / --no-read-only: [default: no-read-only]
  • --debug / --no-debug: [default: no-debug]
  • --branch TEXT: Branch on which to add the repository. [default: main]
  • --config-file TEXT: [env var: INFRAHUBCTL_CONFIG; default: infrahubctl.toml]
  • --help: Show this message and exit.