color_tools.cli_commands.handlers.validate

Validate command handler - Verify color name/hex pairings.

color_tools.cli_commands.handlers.validate.handle_validate_command(args)[source]

Handle the ‘validate’ command - verify color name matches hex code.

Parameters:

args (Namespace) – Parsed command-line arguments

Return type:

None

Exits:

0: Color is a match 1: Color is not a match