Command-line interface (CLI)

Volts:

$ ohmslaw volts -I 2 -R 4

Current:

$ ohmslaw current -V 10 -R 5

Resistance:

$ ohmslaw resistance -V 5 -I 2

Watts:

$ ohmslaw watts -R 15 -I 20

Series:

$ ohmslaw series 5 10 15

Parallel:

$ ohmslaw parallel 5 10 15

To list all command line options, simply type

$ ohmslaw -h

Finally, if you’re filing a bug report, the cli contains a switch called --build-playback-report, which bundles up the state, allowing others to easily replay your issue.