export const removeProcessArg = (proccessArgs: string[], arg: string, removeNextValue: boolean = true) => { const index = proccessArgs.indexOf('--' + arg) if (index !== -1) { proccessArgs.splice(index, removeNextValue ? 2 : 1) } }