pai
    Preparing search index...

    Function parseFlags

    • Reads --name value, --name=value and bare --name (true) from the arguments. A value that starts with -- counts as the next flag. Anything not after a --name is skipped.

      Parameters

      • args: string[]

      Returns Record<string, string | true>