Skip to content

Init Payloads

chaos.lib.args.dataclasses.InitPayload

Bases: BasePayload

Payload for generating boilerplate configuration files via the initialization wizard.

Attributes:

Name Type Description
init_command Literal

The type of initialization to perform ('chobolo' or 'secrets').

update_plugins bool

If True, forces a refresh of the plugin cache before initialization.

targets list[str]

Optional list of target plugins to base the chobolo template on.

template bool

If True, prints the generated template to stdout instead of saving it to a file.

human bool

If True, formats the output of a templated chobolo as human-readable YAML instead of raw Python dict.