1 | import { Command } from '../models/command';
|
2 | export interface Options {
|
3 | keyword: string;
|
4 | search?: boolean;
|
5 | }
|
6 | export default class DocCommand extends Command {
|
7 | readonly name: string;
|
8 | readonly description: string;
|
9 | static aliases: string[];
|
10 | readonly arguments: string[];
|
11 | readonly options: {
|
12 | name: string;
|
13 | aliases: string[];
|
14 | type: BooleanConstructor;
|
15 | default: boolean;
|
16 | description: string;
|
17 | }[];
|
18 | validate(options: Options): boolean;
|
19 | run(options: Options): Promise<any>;
|
20 | }
|