diff --git a/src/arg-parser.ts b/src/arg-parser.ts index 69c380c..e44cdce 100644 --- a/src/arg-parser.ts +++ b/src/arg-parser.ts @@ -14,6 +14,8 @@ export type Arg = { } export class ArgParser { + static readonly helpArg: Arg = {name: 'help', desc: 'Display command\'s help message', flags: ['-h', '--help'], default: false}; + commands: ArgParser[] = []; args: Arg[] = []; flags: Arg[] = [];