@shko.online/componentframework-mock-cli
Version:
Command line interface for @shko.online/componentframework-mock
19 lines (16 loc) • 425 B
text/typescript
import chalk from "chalk";
export const info = (message: string) => {
console.info(
chalk.white.bgBlue.bold("[ComponentFramework-Mock-CLI | INFO]") +
" " +
message
);
};
export const error = (message?: string, ...optionalParams: any[]) => {
console.error(
chalk.white.bgRed.bold("[ComponentFramework-Mock-CLI | ERROR]") +
" " +
message,
...optionalParams
);
};