to_upper

lsst.daf.butler.cli.utils.to_upper(context: Context, param: Option, value: str) str

Convert a value to upper case.

Parameters:
contextclick.Context

Context given by Click.

paramclick.core.Option

Provided by Click. Ignored.

valuestr

The value to be converted.

Returns:
string

A copy of the passed-in value, converted to upper case.