Gaunt Sloth Assistant - v1.5.0
    Preparing search index...

    Generic interface for program-like objects that can parse arguments. Allows decoupling from commander's Command type.

    interface ProgramLike {
        getOptionValue(key: string): unknown;
        parseAsync(args?: string[]): Promise<unknown>;
    }
    Index

    Methods

    • Parameters

      • key: string

      Returns unknown

    • Parameters

      • Optionalargs: string[]

      Returns Promise<unknown>