Skip to content

CTF

ctfkit ctf (init|plan|deploy|destroy)

ctf

Manage your CTF infrastructure

Usage:

ctf [OPTIONS] COMMAND [ARGS]...

Options:

  --help  Show this message and exit.

ctf deploy

Generate terraform configuration files from the ctf configuration and deploy required changes

Usage:

ctf deploy [OPTIONS] {testing|production}

Options:

  --config TEXT
  --help         Show this message and exit.

ctf destroy

Generate terraform configuration files from the ctf configuration and deploy required changes

Usage:

ctf destroy [OPTIONS] {testing|production}

Options:

  --config TEXT
  --help         Show this message and exit.

ctf init

Create a CTF repository in the current working directory

:param ctf_name: The name of the CTF :param provider: The provider which will host the CTF

Usage:

ctf init [OPTIONS]

Options:

  -n, --ctf-name TEXT
  -p, --provider [gcp|azure]
  --help                      Show this message and exit.

ctf plan

List planned infrastructure modifications

Generate terraform configuration and list planned addition, deletion and modification

Usage:

ctf plan [OPTIONS] {testing|production}

Options:

  --config TEXT
  --help         Show this message and exit.