Skip to content
This repository was archived by the owner on Nov 29, 2024. It is now read-only.
This repository was archived by the owner on Nov 29, 2024. It is now read-only.

Add support for output redirection to file. #15

@noahra

Description

@noahra

Issue Description:

Feature Request: Output Redirection to file

Background:

Currently, byteblitz allows users to view the binary content of files. However, it cannot directly redirect the output to a file using the standard output redirection operator (>).

Proposed Feature:
Implement functionality in byteblitz so that users can redirect the formatted output directly to a target file using the > operator. The expected command structure after implementation would be:

byteblitz -<format> <filename> > output.file 

Example:
If a user wants to view the contents of a file named cool.png in hexadecimal , and save the formatted result into output.txt, they could use:

byteblitz -hex document.txt > output.txt

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions