Add CLI input validation and helpers #5
Reference in New Issue
Block a user
No description provided.
Delete Branch "feature/add-option-validation"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
createCommand
cliValidationHelper.ts
This change introduces validation for CLI arguments to ensure correct input formats for identifiers, paths, environment variables, and systemd calendar expressions. New helper functions centralize validation logic, providing consistent error handling and messages via i18n. Unit tests cover validation scenarios for robustness. The build process now grants run permissions to compiled binaries. The changelog and dependency lockfile are updated to reflect these changes.