pai
    Preparing search index...

    Function flagNum

    • A flag's value as a number, or undefined when the flag is absent.

      Parameters

      • flags: Record<string, string | true>
      • name: string

      Returns number | undefined

      CliError when the flag has no value or the value is not a number.