This very simple CLI tool consumes a CSV file, and then outputs that file as a .tdf
ready to start a new Pokemon tournament.
- Clone this repo to your local machine.
- Run
npm i -g
.- This will install the dependencies plus register the CLI command with your machine.
From your terminal you can now run poketourney
.
The following options are available:
Option | Description |
---|---|
-h, --help | display help for command |
The following commands are available
Command | Description |
---|---|
new [options] | Outputs the TDF file from CSV input |
help [command] | display help for command |
This is very straightforward, using poketourney new
with the available options:
poketourney new --input ~/path/to/file.csv --popid {your PopId} --output ~/path/you/want/file.tdf
--input is a required option. Without this the command will throw an error.
--popid will default to 000000
--output will default to the input value with updated file extension.