Closed gwachob closed 2 years ago
What would you think of having an environment variable (and jvm property) like GP_PCSC_RESET
? In the long run I'd like to keep the command line interface to be only about "meaningful" actions/parameters.
That would work for me. As long as I can put it on the command line when invoking from the jar (thats the jvm property approach, right?)
Though I would point out that it disappears from the Help screen, for better or worse.
Please see the updated change/commit.
Added the -R option to control whether card.disconnect() is called with true or false when shutting down. This can noticeably speed up the use of the CLI and is useful when repeatedly using the CLI and you do not need to reset the card between invocations.