code: function toScriptFlags(flags: options.Flags) {
    let scriptFlags = [];
  
    Object.keys(flags).map(flag => {
      if (flag === '--') return;
      if (typeof flags[flag] === 'string') {
        scriptFlags.push(`--${flag}=${flags[flag]}`);
      } else {
        scriptFlags.push(`--${flag}`);
      }
    });
  
    return scriptFlags;
  }
docs: TODO: pass flags individially, upgrade has many flags this is here for testing