1.0.1 • Published 5 years ago
semo-plugin-chalk v1.0.1
semo-plugin-chalk
This is a Semo plugin to provide chalk feature in command line
Installation
You can install this plugin globally
npm i -g @semo/cli semo-plugin-chalk
semo chalk --help
semo chalk [string] [style]
chalk
Options:
--template, -t Output chalk using template style
--demo Output chalk color demoor you can even run it without installing it explicitily.
npm i -g @semo/cli
semo run chalk --Usage
Check style keywords
semo chalk --demoOutput string without styles, like bash echo
semo chalk "hello world"Output string using chalk style
semo chalk "hello world" blueOutput string using chalk composable API
semo chalk "hello world" blue.underlineOutput string using chalk tagged template literal
semo chalk "{red hello} {green world}" -tConfiguration
You can set template option in configuration file .semorc.yml
$plugin:
chalk:
template: true