1 | import * as Config from '@oclif/config';
|
2 | import { HelpOptions } from '.';
|
3 | export default class CommandHelp {
|
4 | command: Config.Command;
|
5 | config: Config.IConfig;
|
6 | opts: HelpOptions;
|
7 | render: (input: string) => string;
|
8 | constructor(command: Config.Command, config: Config.IConfig, opts: HelpOptions);
|
9 | generate(): string;
|
10 | protected usage(flags: Config.Command.Flag[]): string;
|
11 | protected defaultUsage(_: Config.Command.Flag[]): string;
|
12 | protected description(): string | undefined;
|
13 | protected aliases(aliases: string[] | undefined): string | undefined;
|
14 | protected examples(examples: string[] | undefined | string): string | undefined;
|
15 | protected args(args: Config.Command['args']): string | undefined;
|
16 | protected arg(arg: Config.Command['args'][0]): string;
|
17 | protected flags(flags: Config.Command.Flag[]): string | undefined;
|
18 | }
|