The programmatic_scan module demonstrates how to run a CLI command from your program and capture its output for program use.
Build it from project "programmaticScanDemo".