Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor the code in cli/starters.py #4002

Closed
lrcouto opened this issue Jul 10, 2024 · 0 comments
Closed

Refactor the code in cli/starters.py #4002

lrcouto opened this issue Jul 10, 2024 · 0 comments
Labels
Issue: Feature Request New feature or improvement to existing feature

Comments

@lrcouto
Copy link
Contributor

lrcouto commented Jul 10, 2024

Description

The cli/starters.py file contains code that handles things like the project creation flow, starter selection and tool selection. Over time, this file became quite large, now having close to a thousand lines. This causes the file to be hard to work with, and also hard to review, as the logic in the code becomes more difficult to follow.

Possible Implementation

Things that could possibly help on this matter:

  • Extracting the functions related to the tools feature to their own file.
  • Extracting utility functions, like validation and conversion functions, to another file.
  • Going over logic that might be redundant and simplifying it.
@lrcouto lrcouto added the Issue: Feature Request New feature or improvement to existing feature label Jul 10, 2024
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Jan 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: Feature Request New feature or improvement to existing feature
Projects
None yet
Development

No branches or pull requests

1 participant