node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org ยป

secret-santa-cli

Description

Simple cli for using with secret-santa-module

Usage

  npm i secret-santa-cli -g

  secretsantacli --list ./list.csv --api <YOUR_API> --domain <YOUR_DOMAIN>

List Example

  Name,e-mail
  Barry Allen,flash@dccomics.com
  Wally West,kidflash@dccomics.com

Yields

To flash@dccomics.com
<div>You should prepare a present for: <div>Wally West (kidflash@dccomics.com)</div></div>

To kidflash@dccomics.com
<div>You should prepare a present for: <div>Barry Allen (flash@dccomics.com)</div></div>

Debug

To preview how letters will look - you can use debug tag.

  secretsantacli --list ./list.csv --api <YOUR_API> --domain <YOUR_DOMAIN> --debug