Closed doegox closed 10 months ago
adapting the PM3 syntax is a good idea IMO
the pm3 command structure and params isn't unified so don't fall in that pit.
Make sure you lock down so same parameters is the same across the CLI. And reserve some.
Find a nomenclature that fits. PM3 struggle with it.
Make a guiding document and adapt, like: https://github.com/RfidResearchGroup/proxmark3/blob/master/doc/cliparser.md
Same thing when it comes to color management, like https://github.com/RfidResearchGroup/proxmark3/blob/master/doc/colors_notes.md
Learn from the mistakes PM3 CLI did and become even better.
thanks for the tips @iceman1001 !
Historically, 99% of CLI commands reflect directly the firmware protocol, but it does not have to. It has to be user-friendly.
Note that with the current dev CLI, we can already provide
-h
to any command (as in the Proxmark3 client).And command groups can be spotted with
{...}
(as in the Proxmark3 client)Proposals, to be discussed:
e*
, e.g.hf mf e*
(eload,...)Implementation in development here: https://github.com/RfidResearchGroup/ChameleonUltra/tree/rework_cli