cc-terminal
Version:
AngularJs Web based terminal module
19 lines (18 loc) • 412 B
TypeScript
export interface CommandResultInterface {
text: string | Function;
css?: object;
}
export interface CommandInterface {
name: string;
details: {
output: boolean;
readonly?: boolean;
breakLine?: boolean;
format?: any;
result: CommandResultInterface[];
};
callback?: Function;
}
export declare class CommandState {
commands: CommandInterface[];
}