ushmz / kaiji

:slot_machine: Write a RANDOM selection of the input lines to standard output.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

kaiji

Utility command for cheating.

ざわ…ざわ……

  __  _
  > \/ /" ̄\
 ∠      < ̄
 /  // 人\ >
 /  /メ< レ ヘヽ
| イ∠二ソ <∠_| ヽ|
|/||\・/〈・/|
|L|| u ̄  \ |
|ヒ||   ^ _ >|
/  |、(三三ヲ ハ
/| | \u ― /|
 | |\ \  /||
 レ| ヽ \/ ||
   |  |ニニ| |/\

Usage

Write a RANDOM selection of the input lines to standard output.

Usage:
  kaiji [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about kaiji
  keno        Choose one of given arguments
  roulette    Choose one of given arguments

Flags:
  -h, --help   help for kaiji

completion

Generate the autocompletion script for kaiji for the specified shell.
See each sub-command's help for details on how to use the generated script.

Usage:
  kaiji completion [command]

Available Commands:
  bash        Generate the autocompletion script for bash
  fish        Generate the autocompletion script for fish
  powershell  Generate the autocompletion script for powershell
  zsh         Generate the autocompletion script for zsh

keno

Choose `n` counts of the input lines EXCLUDING `n`th input line to standard output.

Usage:
  kaiji keno [flags]

Flags:
  -n, --count int   Number to select (default 1)
  -h, --help        help for keno

roulette

Choose one of the input lines to standard output.
Probability increases as the index grows.

Usage:
  kaiji roulette [flags]

About

:slot_machine: Write a RANDOM selection of the input lines to standard output.

License:MIT License


Languages

Language:Go 79.7%Language:Makefile 20.3%