refactor/establish-solid-foundation #1

Merged
Denaerium merged 4 commits from refactor/establish-solid-foundation into main 2026-07-05 08:04:58 +03:00
Owner

Refactoring to create a cleaner foundation for future functionality. We now use:

  • enums for exit codes
  • helper commands to make code significantly more readable and succinct
  • a new approach to exposing CLI values globally that does not require hard-coding new values each time they're added
  • modules instead of a monolithic file approach in code organisation

This also includes minor fixes in the licensing files.

Note: introduces one TODO: src/docker/mod.rs's update fn is slightly inefficient as it does redundant computing, it is most definitely possible to derive the args variable from the first pass, which defines the targets variable.

"Why are you opening a PR on your own solo project?" Practice, mostly.

Refactoring to create a cleaner foundation for future functionality. We now use: - enums for exit codes - helper commands to make code significantly more readable and succinct - a new approach to exposing CLI values globally that does not require hard-coding new values each time they're added - modules instead of a monolithic file approach in code organisation This also includes minor fixes in the licensing files. Note: introduces one TODO: src/docker/mod.rs's update fn is slightly inefficient as it does redundant computing, it is most definitely possible to derive the args variable from the first pass, which defines the targets variable. "Why are you opening a PR on your own solo project?" Practice, mostly.
Denaerium deleted branch refactor/establish-solid-foundation 2026-07-05 08:04:58 +03:00
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
Denaerium/domctl!1
No description provided.