1 | import { BaseCommand } from './base.js';
|
2 | import type { CommandMetaData } from '../types.js';
|
3 | /**
|
4 | * The list command is used to view a list of commands
|
5 | */
|
6 | export declare class ListCommand extends BaseCommand {
|
7 | #private;
|
8 | /**
|
9 | * Command metadata
|
10 | */
|
11 | static commandName: string;
|
12 | static description: string;
|
13 | static help: string[];
|
14 | /**
|
15 | * Optional flag to filter list by namespace
|
16 | */
|
17 | namespaces?: string[];
|
18 | json?: boolean;
|
19 | /**
|
20 | * The method is used to render a list of options and commands
|
21 | */
|
22 | protected renderList(): void;
|
23 | protected renderToJSON(): CommandMetaData[];
|
24 | /**
|
25 | * Executed by ace directly
|
26 | */
|
27 | run(): Promise<void>;
|
28 | }
|