function runProgram(args) {
  const program = new Command();
  svgo(program);
  // prevent running process.exit
  program.exitOverride(() => {});
  // parser skips first two arguments
  return program.parseAsync(['', '', ...args]);
}
@param {ReadonlyArray<string>} args
@returns {Promise<Command>}