simplifies command execution with a clear Success/Failure result pattern, promoting clean, organized, and context-rich service logic.
hati-command is designed to simplify command execution, with a focus on clear handling of success and failure outcomes. It can be used as a service object or interactor, promoting clean, modular, and predictable logic for complex operations.
- hati-command provides a simple and flexible way to handle command execution and result handling.
- hati-command includes
SuccessandFailureresult classes for consistent outcome management. - hati-command uses a
Resultobject to encapsulate values, outcomes, and contextual metadata.