本文整理汇总了TypeScript中chalk.blue.underline方法的典型用法代码示例。如果您正苦于以下问题:TypeScript blue.underline方法的具体用法?TypeScript blue.underline怎么用?TypeScript blue.underline使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类chalk.blue
的用法示例。
在下文中一共展示了blue.underline方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的TypeScript代码示例。
示例1:
program.on('--help', () => {
console.log(
`
Supported Apps:
ImageAlpha: ${chalk.blue.underline('https://pngmini.com')}
ImageOptim: ${chalk.blue.underline('https://imageoptim.com')}
JPEGmini Lite: ${chalk.blue.underline(
'https://itunes.apple.com/us/app/jpegmini-lite/id525742250'
)}
JPEGmini Pro: ${chalk.blue.underline(
'https://itunes.apple.com/us/app/jpegmini-pro/id887163276'
)}
JPEGmini: ${chalk.blue.underline('https://itunes.apple.com/us/app/jpegmini/id498944723')}
Examples:
${chalk.dim('Run ImageOptim.app over every image in current directory')}
imageoptim
${chalk.dim('Run ImageAlpha.app and ImageOptim.app over every PNG in current directory')}
imageoptim --imagealpha '**/*.png'
${chalk.dim('Run JPEGmini.app and ImageOptim.app over every JPG in current directory')}
imageoptim --jpegmini '**/*.jpg' '**/*.jpeg'
${chalk.dim('Run JPEGmini.app over every JPG in current directory')}
imageoptim --jpegmini --no-imageoptim '**/*.jpg' '**/*.jpeg'
${chalk.dim('Run ImageOptim.app over every image in a specific directory')}
imageoptim '~/Desktop'
`.trimRight()
);
});