-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add full-message feature and validate output writer flags
- Introduced a `full-message` flag to print the entire RabbitMQ message, including headers, exchange, timestamp, and body. - Added a `writer` flag to specify the output type, which can be either "file" or "console". - Implemented validation for: - The `writer` flag must be "file" or "console". - The `output` flag is required when the writer is set to "file". - The `file-mode` flag must be either "append" or "overwrite" when the writer is "file". - Moved flag validation into a new `validateFlags` function. - Removed redundant output file validation from `validateRequiredFields`. - Updated flag descriptions in the documentation.
- Loading branch information
1 parent
bbeede3
commit a665c8f
Showing
16 changed files
with
602 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.