yaml_presets

lsst.daf.butler.cli.utils.yaml_presets(ctx: Context, param: str, value: Any) None

Click callback that reads additional values from the supplied YAML file.

Parameters:
ctxclick.context

The context for the click operation. Used to extract the subcommand name and translate option & argument names.

paramstr

The parameter name.

valueobject

The value of the parameter.