How to use the colors-cli.green function in colors-cli

To help you get started, we’ve selected a few colors-cli examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jaywcjlove / svgtofont / src / index.js View on Github external
.then(async () => {
      if (options.outSVGPath) {
        const outPath = await generate.generateIconsSource(options);
        console.log(`${color.green('SUCCESS')} Created ${outPath} `);
      }
      if (options.outSVGReact) {
        const outPath = await generate.generateReactIcons(options);
        console.log(`${color.green('SUCCESS')} Created React Components. `);
      }
      return options;
    });
}
github jaywcjlove / loading-cli / lib / index.js View on Github external
loading.prototype.succeed = function (text) {
  return this.stopAndPersist(color.green('✔'), text);
}
loading.prototype.fail = function (text) {