qwikstart.operations.edit_yaml module

class qwikstart.operations.edit_yaml.Operation(local_context: Optional[Mapping[str, Any]] = None, opconfig: Optional[Dict[str, Any]] = None, description: str = '')

Bases: qwikstart.operations.base.BaseOperation

Operation to edit yaml by merging data into existing yaml data.

See https://qwikstart.readthedocs.io/en/latest/operations/edit_yaml.html

name: str = 'edit_yaml'
static on_dry_run(file_path: pathlib.Path, merge_data: Dict[str, Any]) → None
run(context: qwikstart.operations.edit_yaml.Context) → None

Override with action