cli_units

cli_units(usage_help='Image resolution units to read the image.', default='level', input_type=None)[source]

Enables –units option for cli.

Parameters
  • usage_help (str) –

  • default (str) –

  • input_type (Optional[click.types.Choice]) –

Return type

callable