function convertOptsToArgs(scenario) {
  const { entries, opts } = scenario
  if (entries.length !== 1) {
    throw new Error('LavaMoat - invalid entries')
  }
  const firstEntry = entries[0]
  const args = [firstEntry]
  Object.entries(opts).forEach(([key, value]) => setOptToArgs(args, key, value))
  return args
}
Converts options within a `NormalizedScenario` to CLI args.
@param {import('lavamoat-core/test/scenarios/scenario').NormalizedScenario} scenario
@returns {string[]}