Skip to content

Simple CLI to flip a coin, when decisions are hard. You must obey the coin - heads is yes, tails is no.

License

Notifications You must be signed in to change notification settings

theonlymikeever/obey-the-coin-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple CLI to flip a coin, when decisions are hard. You must obey the coin - heads is yes, tails is no.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published