src/index.js
function factory (type, opts) {
  return (cmds, options) => {
    const cmd = { exec: execa.exec, shell: execa.shell }
    return cmd[type](cmds, Object.assign({}, opts, options))
  }
}
function factory (type, opts) {
  return (cmds, options) => {
    const cmd = { exec: execa.exec, shell: execa.shell }
    return cmd[type](cmds, Object.assign({}, opts, options))
  }
}
Utils