Command line options parser configuration.

Type Parameters

  • TOption extends ZOption

    A type of option representation.

  • TCtx

    Option processing context required by parser.

Hierarchy

  • Config

Properties

Methods

Properties

options: SupportedZOptions<TOption, TCtx>

Supported command line options.

syntax?: ZOptionSyntax | readonly ZOptionSyntax[]

Supported command line syntax.

Default

{@link ZOptionSyntax.default}

Methods

  • Builds command line option representation class.

    Type Parameters

    • TArgs extends any[]

    Parameters

    • base: BaseClass<TArgs>

      Base option representation class.

    Returns ImplClass<TOption, TCtx, TArgs>

    Command line option representation class constructor.

Generated using TypeDoc