Skip to content

Extract Option classes from cli.toit into options_.toit#99

Merged
floitsch merged 1 commit intomainfrom
floitsch/refactor
Apr 13, 2026
Merged

Extract Option classes from cli.toit into options_.toit#99
floitsch merged 1 commit intomainfrom
floitsch/refactor

Conversation

@floitsch
Copy link
Copy Markdown
Member

cli.toit had grown to ~1856 lines. Move all Option-related classes (Option, OptionString, OptionEnum, OptionInt, OptionPatterns, OptionPath, OptionInFile, OptionOutFile, OptionUuid, Flag, InFile, OutFile, CompletionCandidate, CompletionContext) into a new options_.toit file and re-export them from cli.toit.

cli.toit had grown to ~1856 lines. Move all Option-related classes
(Option, OptionString, OptionEnum, OptionInt, OptionPatterns, OptionPath,
OptionInFile, OptionOutFile, OptionUuid, Flag, InFile, OutFile,
CompletionCandidate, CompletionContext) into a new options_.toit file
and re-export them from cli.toit.
@floitsch floitsch requested a review from kasperl April 13, 2026 19:59
@floitsch
Copy link
Copy Markdown
Member Author

TBR.

@floitsch floitsch merged commit f573f2f into main Apr 13, 2026
7 checks passed
@floitsch floitsch deleted the floitsch/refactor branch April 13, 2026 20:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant