[chore] Abstract command logic outside of the Program class #2

Merged
MabelAmber merged 3 commits from :main into main 2026-11-01 01:53:20 -08:00
Contributor

Splits the program into distinct command units, for easy expansion in the future.

Each command comes with a BeforeExecution callback that can force custom exit codes and error messages to the user, as well as an InvokeAsync entrypoint which returns just an ExitCode (logging is expected to be handled by the body).

Splits the program into distinct command units, for easy expansion in the future. Each command comes with a `BeforeExecution` callback that can force custom exit codes and error messages to the user, as well as an `InvokeAsync` entrypoint which returns just an ExitCode (logging is expected to be handled by the body).
Sign in to join this conversation.
No reviewers
No labels
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
MabelAmber/SubConv!2
No description provided.