Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

parrotify-cli

1.1.1 • Public • Published

parrotify-cli

Custom parrots from your command line 🎉

parrotify-cli demo

Installation

npm install -g parrotify-cli

Requires node > 8

To display the parrot in your command line you need iTerm > 3, a parrot.gif will be generated in your current directory anyway.

Usage

> parrotify [options]


  Options:

    -V, --version             output the version number
    -b --base [base]          Base parrot to use
    -o --overlay [overlay]    Image to place on top of the parrot
    -p --position [position]  Position of the overlay (face, hand or hat)
    -d --delay [delay]        How hard does the parrot party?
    -h, --help                output usage information

Positioning

The overlay will autoposition itself based on it's ratio and chosen base (experimental).

> parrotify -o http://vignette3.wikia.nocookie.net/runescape2/images/0/0a/Wizard_hat_\(t\)_detail.png -p hat -b mega

Will generate:

parrotify hat demo

A gif file will be generated in the current path showing the result parrot. By default it will be called parrot.gif

TODO

  • Error handling whenever user data is not entered properly (missing overlay and positions defined)

  • Give an error when node version < 8

  • Prevent replacing existing parrot.gif in the folder.

  • Customise overlay size option.

Contributing

Please see our contributing.md


PARTY OR DIE

Built using Parrot As A Service

Install

npm i [email protected]

Version

1.1.1

License

ISC

Unpacked Size

1.68 MB

Total Files

14

Last publish

Collaborators

  • avatar
  • avatar