Refactor: Simplify main function in cli/main.py #1435

Open
opened 2026-04-02 17:54:38 +00:00 by freemo · 0 comments
Owner

The main function in src/cleveragents/cli/main.py is very long and complex. It has a lot of logic for parsing arguments, handling special cases, and registering subcommands. This makes it difficult to read and understand.

This function should be refactored into smaller, more focused functions to improve readability and maintainability.

The `main` function in `src/cleveragents/cli/main.py` is very long and complex. It has a lot of logic for parsing arguments, handling special cases, and registering subcommands. This makes it difficult to read and understand. This function should be refactored into smaller, more focused functions to improve readability and maintainability.
freemo self-assigned this 2026-04-02 18:45:10 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
cleveragents/cleveragents-core#1435
No description provided.