SimpleZOptionsParser: ((this, args, opts?) => Promise<Result>)

Type declaration

    • (this, args, opts?): Promise<Result>
    • Simple command line options parser signature.

      Parameters

      • this: void
      • args: readonly string[]

        Array of command line arguments

      • Optional opts: Opts

        Parser options.

      Returns Promise<Result>

      A promise resolved to parse result.

Generated using TypeDoc