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

    Function parseArgs

    • Parses the provided rawArgs against the provided argDefinitions and returns the value for each arg.

      Type Parameters

      Parameters

      Returns ParsedArgs<Args>

      InvalidArgError When provided args do not match their definitions

      UnexpectedInternalError When a different, unexpected error is encountered. This includes errors caused by invalid arg definitions.