Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flip

Flip was designed to help you make them difficult decisions quickly right from your command line and was initially built to answer the common whats for dinner conundrum. I ate dinner late that night after learning the swift argument parser library, all in the name of bringing a small lightweight coin flip CLI tool to the open source community.

Usage

Flip a coin

Invoke the flip command to flip coins in your command line.

$ flip

Flip multiple coins

Use the --coins or -c argument and pass a number to flip serval coins in one command.

$ flip -c 3

Disable animated and colored output

Need to disable the colored or animated output for instant coin flips, piping output to different commands or easy scraping of outputted text? Use the --disable or -d argument.

$ flip --disable

Accessing help

If you need help use the built in help screen by passing the --help or -h argument.

$ flip -h

Install & Updating

Currently we suggest installing from source, this will require swift as a make dependency. Its suggested that you checkout a tagged version when installing or updating for stability (use the git tag command to see all tags or see the GitHub Releases page). I am working on bringing flip to major package managers soon such as homebrew, the AUR and APT.

Install from source

$ git clone https://github.com/dominicegginton/flip
$ cd flip
$ git checkout {version number}
$ sudo make install

Updating from source

$ git pull
$ git checkout {version number}
$ sudo make install

Contributing

You are welcome to contribute by submitting a new bug report and features request on te GitHub Issue tracker and don't hesitate to submit a pull request I am always open for new contributes to hop on board.

About

Flip coins in your command line

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Sponsor this project

Used by

Contributors

Languages