@teambit/harmony
Version:
abstract extension system
19 lines (18 loc) • 397 B
TypeScript
/**
* hook for registering new CLI commands.
*/
export declare const Command: {
(target: any, propertyKey: string, descriptor: PropertyDescriptor): void;
hash: string;
};
export type CommandDefinition = {
synopsis: string;
report: string;
};
export declare class CLI {
/**
* registry for the commands hook
*/
private commands;
run(): CommandDefinition[];
}