Skip to content

Commit e170f94

Browse files
Add 'Next Challenge' section to README - Build a CLI tool for the utils toolkit
1 parent 98a2c8a commit e170f94

2 files changed

Lines changed: 53 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,6 @@ htmlcov/
6363

6464
# Jupyter
6565
.ipynb_checkpoints
66+
branch_structure.json
67+
temp_auto_push.bat
68+
temp_interactive_push.bat

README.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,56 @@ This project grows with daily contributions! Here are areas you can improve:
109109
- [ ] Add archive (zip/tar) utilities
110110
- [ ] Add network utilities
111111

112+
## Next Challenge
113+
114+
### 🚀 Your Next Coding Challenge
115+
116+
Now that you've built a comprehensive Python utils toolkit, here's your next challenge:
117+
118+
**Build a CLI Tool for the Utils Toolkit**
119+
120+
Create a command-line interface that allows users to access all utility functions from the terminal. This will make your utilities more accessible and demonstrate advanced CLI development skills.
121+
122+
**Requirements:**
123+
- Use `argparse` or `click` for CLI parsing
124+
- Support all major utility functions (file, text, date, web, system)
125+
- Include help documentation for each command
126+
- Add progress bars for long-running operations
127+
- Support both interactive and batch modes
128+
- Include configuration file support
129+
- Add colored output for better user experience
130+
131+
**Example Usage:**
132+
```bash
133+
# File operations
134+
python -m utils.cli find-files --pattern "*.py" --directory ./src
135+
python -m utils.cli organize-files --source ./downloads --by extension
136+
137+
# Text processing
138+
python -m utils.cli extract-emails --file document.txt
139+
python -m utils.cli slugify "Hello World! How are you?"
140+
141+
# System info
142+
python -m utils.cli system-info
143+
python -m utils.cli disk-usage C:/
144+
```
145+
146+
**Bonus Challenges:**
147+
- Add shell completion support (bash/zsh/fish)
148+
- Create a web API version of the utilities
149+
- Add logging and audit trails
150+
- Implement plugin architecture for extensibility
151+
- Create a GUI version using tkinter or web interface
152+
153+
**Learning Objectives:**
154+
- CLI application development
155+
- Argument parsing and validation
156+
- Cross-platform compatibility
157+
- Error handling and user feedback
158+
- Code organization for CLI tools
159+
160+
---
161+
112162
## License
113163

114164
MIT License - Feel free to use, modify, and distribute.

0 commit comments

Comments
 (0)