Proyek
Lihat di GitHub chalk-cli

chalk/chalk-cli
Tentang
Penataan gaya string terminal yang tepat
Alat pengembanganPertumbuhan bintang terukur
- dalam 24 jam
- 0
- dalam 7 hari
- 0
- dalam 15 hari
- +1
- dalam 1 bulan
- Mengumpulkan riwayat
Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.
README.md
Aslichalk-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
Jelajahi proyek terkait
Memuat…