Code Monkey home page Code Monkey logo

yodasay's Introduction

Stack Overflow profile:

profile for Scott Tesler on Stack Exchange, a network of free, community-driven Q&A sites

Programmer joke:

Jokes Card

yodasay's People

Contributors

andrialexandrou avatar benhassara avatar dependabot[bot] avatar dissem avatar doug2k1 avatar fentie avatar freshlogic avatar gene-pavlovsky avatar jasonkhanlar avatar lukebatchelor avatar mariolamacchia avatar nikovirtala avatar piuccio avatar ricksbrown avatar scotttesler avatar tvdstaaij avatar zolaemil avatar

Stargazers

 avatar  avatar  avatar  avatar

Forkers

do0ov

yodasay's Issues

Some options are unsupported

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 is broken

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.