tsargp
    Preparing search index...

    Function parseInto

    • Parses command-line arguments into option values.

      Type Parameters

      • T extends Readonly<Record<string, Option>>

      Parameters

      • options: T

        The option definitions

      • values: Readonly<
            {
                [key in string
                | number
                | symbol as OptionKeyType<T[key], key>]: OptionDataType<T[key]>
            },
        >

        The option values to parse into

      • cmdLine: CommandLine = ...

        The command line or arguments

      • flags: ParsingFlags = {}

        The parsing flags

      Returns Promise<ParsingResult>

      The parsing result