scotttesler / yodasay Goto Github PK
View Code? Open in Web Editor NEWThis project forked from piuccio/cowsay
ππ π§ββοΈ
License: Other
This project forked from piuccio/cowsay
ππ π§ββοΈ
License: Other
yodasay
does not actually use the eyes concept from https://github.com/piuccio/cowsay. However, eyesβrelated options still appear:
Options:
-b Mode: Borg
-d Mode: Dead
-g Mode: Greedy
-p Mode: Paranoia
-s Mode: Stoned
-t Mode: Tired
-w Mode: Wired
-y Mode: Youthful
-e Select the appearance of the cow's eyes.
-T The tongue is configurable similarly to the eyes through -T and tongue_string.
-h Display this help message
-n If it is specified, the given message will not be word-wrapped.
-W Specifies roughly where the message should be wrapped. The default is equivalent to -W 40 i.e. wrap words at or before the 40th column. [default: 40]
-f Specifies a cow picture file (''cowfile'') to use. It can be either a path to a cow file or the name of one of cows included in the package. [default: "default"]
-r Select a random cow
-l List all cowfiles included in this package.
Improve this UX such that unsupported options are not present.
Piping input into yodasay
raises an error. For example:
$ echo please repeat | yodasay
node:internal/modules/cjs/loader:1039
const err = new Error(message);
^
Error: Cannot find module 'strip-eof'
Require stack:
- /Users/scotttesler/.nvm/versions/node/v19.3.0/lib/node_modules/yodasay/cli.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1039:15)
at Module._load (node:internal/modules/cjs/loader:885:27)
at Module.require (node:internal/modules/cjs/loader:1105:19)
at require (node:internal/modules/cjs/helpers:103:18)
at /Users/scotttesler/.nvm/versions/node/v19.3.0/lib/node_modules/yodasay/cli.js:60:17
at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/Users/scotttesler/.nvm/versions/node/v19.3.0/lib/node_modules/yodasay/cli.js'
]
}
Node.js v19.3.0
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.