https://github.com/danasilver/commander-claus
Secret Santa from the command line.
https://github.com/danasilver/commander-claus
Last synced: 10 months ago
JSON representation
Secret Santa from the command line.
- Host: GitHub
- URL: https://github.com/danasilver/commander-claus
- Owner: danasilver
- Created: 2014-12-23T23:13:03.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-12-23T23:29:10.000Z (over 11 years ago)
- Last Synced: 2025-02-24T02:30:28.856Z (over 1 year ago)
- Language: JavaScript
- Size: 129 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## commander claus
Secret Santa from the command line.
```
npm install commander-claus
```
### Usage
By default, commander-claus uses Gmail to send messages, with username
`$CLAUSUSER` and password `$CLAUSPASSWORD`.
Modify Claus#transport to send messages another way.
### Options
#### `-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](https://github.com/mbostock/dsv). Used to parse
the input file.
#### `-s, --subject`
Default: `Secret Santa`
The email subject sent to all recipients.
#### `--dryrun`
Do everything except send emails.
#### `--reveal`
Reveal matches.