Skip to content

Core CLI Interface 🖥️ #8

@lalithaar

Description

@lalithaar

Priority: High | Difficulty: Low | Estimated: 3-5 days

Problem

Need a command-line interface that developers can actually use to process CSS files.

Scope

Basic CLI that takes a CSS file, processes colors through CM-Colors, and outputs results.

Usage

# Basic processing
cm-colors process input.css

# Specify output file
cm-colors process input.css --output accessible.css

Acceptance Criteria

  • Install as CLI command (pip install cm-colorscm-colors available)
  • Process single CSS file
  • Clear progress feedback and error messages
  • Help documentation (cm-colors --help)
  • Exit codes (0 = success, 1 = errors found)

Technical Requirements

  • Use Click for CLI framework
  • Rich for pretty terminal output
  • Proper error handling and user feedback
  • Cross-platform compatibility

Dependencies

  • Requires previous sub issue (CSS extraction) to be completed

Metadata

Metadata

Assignees

Labels

Projects

Status

implementation needed

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions