プロジェクトchalk-cli

概要
ターミナルの文字列スタイルを適切に設定
開発ツール計測したスター増加
- 24時間
- 0
- 7日間
- 0
- 15日間
- +1
- 1か月
- 履歴を収集中
期間ごとの純増数です。期間は重複しており、日別の値ではありません。未計測の値は空欄です。スター数は注目度の指標であり、品質の保証ではありません。
README.md
オリジナルchalk-cli

Terminal string styling done right

Install
npm install --global chalk-cli
Usage
$ chalk --help
Usage
$ chalk <style> ... <string>
$ echo <string> | chalk <style> ...
Options
--template, -t Style template. The `~` character negates the style.
--stdin Read input from stdin rather than from arguments.
--no-newline, -n Don't emit a newline (`\n`) after the input.
--demo Demo of all Chalk styles.
--color, -c Force color support.
Examples
$ chalk red bold 'Unicorns & Rainbows'
$ chalk -t '{red.bold Unicorns & Rainbows}'
$ chalk -t '{red.bold Dungeons and Dragons {~bold.blue (with added fairies)}}'
$ echo 'Unicorns from stdin' | chalk --stdin red bold
See supported styles.
Template syntax
{red.bold unicorn}{red.bold unicorns} are {blue FUN!!!}{red.bold unicorn {blue.underline dancing}}{red red {~red normal}}{red hey\} still red} not red{red hey\\} not red
Related
- chalk - API for this package
Maintainers
関連プロジェクトを探す
読み込み中…