Cotal TypeScript packages
    Preparing search index...

    Function parseSeatCapFlag

    • Parse a --seat-cap value: a positive integer, or unlimited. Absent stays undefined, so the caller falls back to what the root recorded and then to DEFAULT_SEAT_CAP. A typo fails loud as a usage refusal rather than silently becoming a ceiling nobody asked for.

      Parameters

      • flag: string
      • raw: string | undefined

      Returns SeatCap | undefined