2.2.4 • Published 3 years ago
dogsay v2.2.4
Install
npm install -g dogsay
Usage
Default:
dogsay
Output:
Use other graphics:
dogsay --use snoopy
Output
Say
Say something:
dogsay '死去元知万事空,\n但悲不见九州同。\n王师北定中原日,\n家祭无忘告乃翁。'
Output: (A newline can use "\n")
(早日收回湾湾)
Set color
You can set the colors:
dogsay set-colors r
You can set the text to red and the graphics to yellow:
dogsay set-colors r y
Color codes:
r = red
g = green
b = blue
c = cyan
m = magenta
y = yellow
k = black
w = white
Other information
dogsay --help
Add dogsay
to .zshrc
, which is displayed every time you open the command line