Skip to content

Comments

Refactor toolkit.py with logging, error handling, and CLI improvements#1599

Open
amanantuley wants to merge 2 commits intogoogle:masterfrom
amanantuley:aman-feature
Open

Refactor toolkit.py with logging, error handling, and CLI improvements#1599
amanantuley wants to merge 2 commits intogoogle:masterfrom
amanantuley:aman-feature

Conversation

@amanantuley
Copy link

✅ Added logging to improve user feedback and runtime visibility

✅ Implemented input path validation to catch missing or invalid files

✅ Wrapped core logic in exception handling to prevent crashes

✅ Introduced --version and CLI usage examples via epilog

✅ Made --generate and --validate mutually exclusive to prevent misuse

✅ Cleaned up messages and structured flow for better UX

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant