Coder Social home page Coder Social logo

cowsay-haskell's Introduction

Cowsay

A cowsay implementation in Haskell. Based on the original cowsay implementation of Tony Monroe, inspired by @advi.

Did you know there's even a Wiki on cowsay?

Usage

$ cowsay -h
Usage: cowsay [OPTIONS] [MESSAGE]
  -l         --list           List available cows
  -f FILE    --file=FILE      Set cow type
  -W WIDTH   --width=WIDTH    Set max message width
  -b         --borg           Borg cow mode
  -d         --dead           Dead cow mode
  -g         --greedy         Greedy cow mode
  -p         --paranoid       Paranoid cow mode
  -s         --stoned         Stoned cow mode
  -t         --tired          Tired cow mode
  -w         --wired          Wired cow mode
  -y         --young          Young cow mode
  -e EYES    --eyes=EYES      Set cow eyes
  -T TONGUE  --tongue=TONGUE  Set cow tongue


$ ./cowsay -e "^^" -f small Moooooooooooooooooooo!
 ________________________
< Moooooooooooooooooooo! >
 ------------------------
       \   ,__,
        \  (^^)____
           (__)    )\\
              ||--|| *

TODO

The following functionality is lacking compared to the original version:

  • Being able to read from stdin
  • Disable word wrapping (the -n flag)

License

Distributed under the original cowsay license, please see the LICENSE file.

cowsay-haskell's People

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

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.