npm.io
1.0.0 • Published 7 years agoCLI

@strongeleeroy/teamr

Licence
MIT
Version
1.0.0
Deps
6
Size
34 kB
Vulns
0
Weekly
0
Stars
1

Teamr

A random team generator CLI tool.

Installation & Usage

Install teamr globally by running:

npm install -g @strongeleeroy/teamr

Then, use it from the command line:

teamr --config teams.yaml

Configuration (teams.yaml)

The initial teams configuration is done in YAML and must contain the number of desired teams and a list of people:

teams: 2
people:
- Luisa
- Carlos
- Jamika
- Buck
- Steven
- Christen
- Sally
- Margene
- Ashlie

Debug logs

Display debug logs by addind the --debug flag to the teamr command:

teamr --config ./teams.yaml --debug

Output:

[INFO] Generating 2 teams with a total of 9 people...

>---------- Viable Chinchillas ----------<
  =>  Steven
  =>  Margene
  =>  Ashlie
  =>  Christen
  =>  Carlos
>----------------------------------------<


>---------- Braided Leopards ----------<
  =>  Sally
  =>  Buck
  =>  Jamika
  =>  Luisa
>--------------------------------------<

[OK] Done in 11ms.

Keywords