How to use the cli-color.italic function in cli-color

To help you get started, we’ve selected a few cli-color 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 sarthology / criCLI / MatchData.js View on Github external
console.log("\n\t      \x1b[2m🔥 " + link + " 🔥\x1b[0m");




            // Series Name
            if (this.seriesArray.name)
                console.log("\nTournament: " + clc.redBright(this.seriesArray.name));





            // Check and Print team Names
            if (JSONData.team1.s_name && JSONData.team2.s_name) {
                console.log(clc.greenBright(clc.italic("\n\t\t " + JSONData.team1.s_name)) + " VS " + clc.greenBright(clc.italic(JSONData.team2.s_name)));
            }




            // -------------------  START MATCH NOT STARTED BLOCK ----------------------
            if (this.state == 'preview') {
                console.log("-------------------------------------------");

                console.log("\n\t☹️  Match not Started Yet !! ☹️\n");
                console.log("-------------------------------------------");

            }

            // -------------------  MATCH NOT STARTED BLOCK  ENDED  ----------------------
github sebpiq / rhizome / bin / rhizome / main.js View on Github external
config.pages.forEach(function(page) {
        console.log(clc.italic('  http://:' + config.webPort + clc.bold(page.rootUrl)))
      })
    } else console.log(clc.bold('(2) Warning : no web pages declared'))
github felipenmoura / sos-stackoverflow-search / dist / stringUtils.js View on Github external
intalics.forEach(function (cur) {
                finalStr = finalStr.replace(cur, cliColor.italic(cur.replace(/\<(\/)?i\>/g, '')));
            });
        }
github sebpiq / rhizome / bin / rhizome-blobs.js View on Github external
client.start((err) => {
    utils.handleError(err)
    utils.logSuccess('saving and reading blobs from', clc.bold(client._config.blobsDir))
    utils.logSuccess('receiving blobs on port', clc.bold(client._config.blobsPort))
    utils.logSuccess('server',
      clc.italic('host=' + clc.bold(client._config.serverHostname)
        + ', blobsPort=' + clc.bold(client._config.serverBlobsPort)))
  })
}
github felipenmoura / sos-stackoverflow-search / src / stringUtils.js View on Github external
intalics.forEach(function(cur){
                finalStr = finalStr.replace(cur, cliColor.italic(cur.replace(/\<(\/)?i\>/g, '')));
            });
        }