@sprucelabs/spruce-cli
Version:
Command line interface for building Spruce skills.
12 lines (11 loc) • 384 B
TypeScript
type Command = RegExp | string;
export default class CommandFaker {
fakeCommand(command: Command, code?: number): void;
on(command: Command, cb: () => void): void;
makeCommandThrow(command: Command): void;
fakeRebuild(code?: number): void;
fakeCleanBuild(code?: number): void;
fakeBuild(code?: number): void;
fakeInstall(code?: number): void;
}
export {};