seeing-things / zwo

ZWO SDK and custom software for debugging and using it.
23 stars 4 forks source link

Add more robust program arguments support to `capture` #75

Open bgottula opened 1 year ago

bgottula commented 1 year ago

Add more robust program options support to capture. I did a quick survey of available libraries and https://github.com/CLIUtils/CLI11 appears to be popular and uses modern C++. It is available as libcli11-dev on Ubuntu 22.04.

Use this as an opportunity to replace some of the hard-coded constants in the software with program args. Some to consider:

Further work to do:

bgottula commented 1 year ago

I've done the work on branch cli11. As of now, in CMake CLI11 is added as a subdirectory.