Secret Santa from the command line.

Usage no npm install needed!

<script type="module">
  import commanderClaus from '';


commander claus

Secret Santa from the command line.

npm install commander-claus


By default, commander-claus uses Gmail to send messages, with username $CLAUSUSER and password $CLAUSPASSWORD.

Modify Claus#transport to send messages another way.


-f, --file

Default: claus.csv.

The to read names from. First row must be the header: name,email using any delimiter. A custom delimiter can be set with the -d, --delim flag.

-d, --delim

Default: ,.

The delimiter passed to dsv. Used to parse the input file.

-s, --subject

Default: Secret Santa

The email subject sent to all recipients.


Do everything except send emails.


Reveal matches.