Skip to content

Comments

Implement flexible argument handling for hex2bin tool#6

Merged
igorrius merged 2 commits intomainfrom
add-logic-to-choose-mode-and-output-file-based-on-input-file
May 2, 2025
Merged

Implement flexible argument handling for hex2bin tool#6
igorrius merged 2 commits intomainfrom
add-logic-to-choose-mode-and-output-file-based-on-input-file

Conversation

@igorrius
Copy link
Owner

@igorrius igorrius commented May 2, 2025

  • Updated main.go to allow for optional output file and mode arguments.
  • Added functions to determine output file name and mode based on input file extension.
  • Enhanced usage instructions for better clarity.

@igorrius igorrius added the enhancement New feature or request label May 2, 2025
@igorrius igorrius self-assigned this May 2, 2025
igorrius added 2 commits May 2, 2025 11:29
- Updated main.go to allow for optional output file and mode arguments.
- Added functions to determine output file name and mode based on input file extension.
- Enhanced usage instructions for better clarity.
- Added sections for conversion modes and argument specifications.
- Clarified behavior for optional output file and mode inference based on input file extension.
- Included examples for minimal usage and specifying output and mode explicitly.
@igorrius igorrius force-pushed the add-logic-to-choose-mode-and-output-file-based-on-input-file branch from 1a595fb to 772879b Compare May 2, 2025 08:29
@igorrius igorrius merged commit ec5e016 into main May 2, 2025
2 checks passed
@igorrius igorrius deleted the add-logic-to-choose-mode-and-output-file-based-on-input-file branch May 2, 2025 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant