(cli_parser, setting_name, setting_info)
Add the given "reactive_rgbcolor" type setting to the given CLI
    arguments parser.

    :param ArgumentParser cli_parser: An :class:`ArgumentParser` instance.
    :param str setting_name: The name of the setting.
    :param dict setting_info: The information dict of the setting from the
                              device profile.
Add the given "reactive_rgbcolor" type setting to the given CLI
    arguments parser.
Add the given reactive_rgbcolor type setting to the given CLI arguments parser .
def add_cli_option(cli_parser, setting_name, setting_info):
    """Add the given "reactive_rgbcolor" type setting to the given CLI
    arguments parser.

    :param ArgumentParser cli_parser: An :class:`ArgumentParser` instance.
    :param str setting_name: The name of the setting.
    :param dict setting_info: The information dict of the setting from the
                              device profile.
    """
    description = (
        "%s (e.g. off, disable, red, #ff0000, ff0000, #f00, f00, default: %s)"
        % (
            setting_info["description"],
            str(setting_info["default"]),
        )
    )
    cli_parser.add_argument(
        *setting_info["cli"],
        dest=setting_name,
        help=description,
        type=str,
        action=CheckColorAction,
        metavar=setting_name.upper()
    )
def add_cli_option ( cli_parser , setting_name , setting_info ) : description = ( "%s (e.g. off, disable, red, #ff0000, ff0000, #f00, f00, default: %s)" % ( setting_info [ "description" ] , str ( setting_info [ "default" ] ) , ) ) cli_parser . add_argument ( * setting_info [ "cli" ] , dest = setting_name , help = description , type = str , action = CheckColorAction , metavar = setting_name . upper ( ) )