cli-vir - v0.2.0
    Preparing search index...

    Function parseStrippedArgs

    • Parses raw args that have already had the leading command args (like node or the script name) removed. In most cases, you should not use this directly. Instead use parseArgs.

      Parameters

      • relevantArgs: string[]

        This is mutated as args are popped off and parsed.

      • argDefinitionsInput: Readonly<ArgDefinitions>
      • params: Readonly<PartialWithUndefined<ParseArgsParams>> = {}

      Returns Record<string, MaybeArray<undefined | string | number | boolean>>

      Prefer parseArgs.