function exitHandler(options, exitCode) {
  // if (options.cleanup) {
  Opendatacam.clean();
  // };
  if (exitCode || exitCode === 0) console.log(exitCode);
  if (options.exit) process.exit();
}
@api {get} /ui Get UI settings
@apiName  Get UI settings
@apiGroup Helper

@apiDescription Get UI settings

Through this api you can get UI settings like whether counter and pathfinder features are
enabled


@apiSuccessExample {json} Success Response:
   {
            counterEnabled: true,
            pathfinderEnabled: true
          }