Skip to content

denischevalier/roulette

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

roulette

Draws two names out of a list.

Usage

roulette draws elements from the comma-separated environment variable ROULETTE_LIST.

It accepts an optional parameter -a to exclude an element from the list (see Example below).

Example

$ ROULETTE_LIST="foo,bar,baz,foz" roulette -a foo
2021/12/08 17:38:39 choosing from: [foz bar baz]
selected:  [foz bar]

Install

Run the following command in a terminal:

go install github.com/denischevalier/roulette@latest

Releases

No releases published

Packages

 
 
 

Languages