Skip to content

[Good First Issue] Add Colored Output to Terminal #2

@SthembisoMfusi

Description

@SthembisoMfusi

🎯 Issue Description

The current output is plain text. Let's make it more visually appealing with colors! Success messages in green, warnings in yellow, errors in red.

🚀 What You'll Learn

  • Working with external Python libraries
  • Terminal output formatting
  • Error handling

📋 Tasks

  • Add colorama or rich to requirements.txt
  • Import the color library in py_sort.py
  • Colorize success messages (green)
  • Colorize warning messages (yellow)
  • Colorize error messages (red)
  • Update documentation

🛠️ Files to Modify

  • py_sort.py
  • requirements.txt
  • README.md

💡 Hints

  • Use colorama for simple coloring: from colorama import Fore, Style
  • Or use rich for more advanced formatting
  • Test on different terminals

🧪 Testing

python py_sort.py ~/Downloads --dry-run

Metadata

Metadata

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions