Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

obey-the-coin

1.3.0 • Public • Published

Obey The Coin

A simple coin flip cli, because making choices can be difficult:

  • Heads = yes
  • Tails = no

Never be indecisive again™

Install

$ npm install -g obey-the-coin

Example usage

otc flip

$ otc

Flips a coin 1 time, by default.

Options

times [num | -n]

otc flip

$ otc times [num]

Don't trust just one flip? No problem. Specify how many num times you want that bad boy to be spin - up to a max of 1,000,000,000.

otc flip

In the case of a tie, otc will flip once more to break it.

stats [delete | -D]

otc flip

$ otc stats

See how many times you've have to say yes, no, or your total flip count. To delete all logged stats, throw the -D or -delete flag.

Todo:

  • Animation
  • Result Logs
  • Tests
  • Themes
  • Better Animation
  • Improve code (kinda a persistent tasks amirite?)

install

npm i obey-the-coin

Downloadsweekly downloads

6

version

1.3.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability