IrScrutinizer icon indicating copy to clipboard operation
IrScrutinizer copied to clipboard

Powerful command line interface

Open bengtmartensson opened this issue 9 years ago • 3 comments

The main routine in IrScrutinizer has many shortcomings. Also there is quite some functionality in IrScrutinizer that it would be nice to access from the command line.

An advance command line interface should be implemented in IrScrutinizer.main. ~~This would potentially replace the old one in IrpMaster. The latter should be deprecated, however probably not removed.~~

bengtmartensson avatar Apr 04 '15 11:04 bengtmartensson

Commit 6e3609a047e68b45366d47ed6ff12663ec4d3a10 introduced the command line parameter --irpmaster which, if given as the first option, will invoke IrpMaster.main() on the rest of the arguments.

bengtmartensson avatar Feb 20 '16 08:02 bengtmartensson

On hold, waiting for IrpTransmogrifier

bengtmartensson avatar Jul 22 '16 09:07 bengtmartensson

The --irpmaster option has been removed, without replacement, in the IrpTransmogrifier branch. It is just too bizarre...

The IrpTransmogrifier command line interface is actually quite impressive (IMHO); the IrScrutinizer CLI should be a superset/complement in the same vein, using the same tools (JCommander). Unclear how/if the IrpTransmogrifier functionality to be covered.

Use cases that should be covered

  1. Superset of the harchardware.Main.main()-commands (presently broken IIRC). For example,
    • Send a certain signal (rendered or raw) to supported hardware
    • Capture signal from hardware
  2. Import file/url/directory (already working as command line argument), and export as some other file format.
  3. Render a set of signal using the "wildcard" stuff, and exporting,
  4. ...

Feedback welcome.

Wait with a scripting language until version 3... (Waiting for Jython to support Python3.)

bengtmartensson avatar Oct 21 '18 09:10 bengtmartensson

Decided not to do this, see #509.

bengtmartensson avatar Dec 17 '23 12:12 bengtmartensson