vamtiger-argv
Version:
This contains convenience methods for accessing commandline arguments.
9 lines (8 loc) • 370 B
TypeScript
import { RawArgument, RawArguments } from '../raw-arguments';
export interface IArgs extends Map<RawArgument, RawArgument | undefined> {
raw: RawArguments;
next: (arg: RawArgument) => RawArgument | undefined;
first: RawArgument | undefined;
_initialize: (arg: RawArgument, index: Index, args: RawArguments) => void;
}
export declare type Index = number;