color_tools.cli_commands.handlers.filament

Filament command handler - Search and query 3D printing filaments.

color_tools.cli_commands.handlers.filament.handle_filament_command(args, json_path=None)[source]

Handle the ‘filament’ command - search and query 3D printing filaments.

Parameters:
  • args (Namespace) – Parsed command-line arguments

  • json_path (Path | str | None) – Optional custom data directory

Return type:

None

Exits:

0: Success 1: Filament not found or error 2: Invalid input