-
Notifications
You must be signed in to change notification settings - Fork 196
Open
Description
๐ Description:
Currently, the CLI requires a firmware file as a positional argument:
parser.add_argument('file')
This causes issues when running operations that do not need a firmware file, such as:
- Reading chip ID
- Erasing flash memory
๐ก Proposal:
Update the parser to make the file argument optional:
parser.add_argument('file', nargs='?', default=None, help='Firmware file to read/write')
This allows more flexibility in usage and better support for scripts and automation workflows that donโt always involve flashing.
๐ Context:
I'm using this tool as a submodule and needed this change to support a more dynamic flashing sequence via a Flask-based controller. Happy to open a PR if maintainers agree this direction makes sense!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels