Skip to content

Latest commit

 

History

History
49 lines (37 loc) · 1.08 KB

README.md

File metadata and controls

49 lines (37 loc) · 1.08 KB

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?)