1.0.0 • Published 6 years ago
usaswim v1.0.0
usaswim
Unofficial USA Swimming CLI
Usage
$ npm install -g usaswim
$ usaswim COMMAND
running command...
$ usaswim (-v|--version|version)
usaswim/1.0.0 linux-x64 node-v10.5.0
$ usaswim --help [COMMAND]
USAGE
$ usaswim COMMAND
...
Commands
usaswim eventrank DISTANCE STROKE COURSE GENDER AGESTART [AGEEND]
usaswim help [COMMAND]
usaswim points DISTANCE STROKE COURSE GENDER TIME
usaswim eventrank DISTANCE STROKE COURSE GENDER AGESTART [AGEEND]
Queries USA Swimming's Event Rank Search and outputs the result
USAGE
$ usaswim eventrank DISTANCE STROKE COURSE GENDER AGESTART [AGEEND]
ARGUMENTS
DISTANCE distance
STROKE stroke
COURSE course
GENDER gender
AGESTART start of age range
AGEEND end of age range
OPTIONS
-d, --writeToFile write output to file
-e, --dateEnd=dateEnd [default: 6/30/2018] ending date
-f, --fileName=fileName output filename
-h, --help show CLI help
-l, --limit=limit [default: 7000] limit number of results
-s, --dateStart=dateStart [default: 6/1/2018] starting date
-t, --outputType=json|yml [default: json] output format
EXAMPLE
usaswim eventrank 50 fr scy m 18 19
-> [{"EventDesc":"50 FR SCY","Ev...
See code: src/commands/eventrank.ts
usaswim help [COMMAND]
display help for usaswim
USAGE
$ usaswim help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
usaswim points DISTANCE STROKE COURSE GENDER TIME
Calculates the Power Point value of a swimming time
USAGE
$ usaswim points DISTANCE STROKE COURSE GENDER TIME
ARGUMENTS
DISTANCE distance
STROKE stroke
COURSE course
GENDER gender
TIME swimming time
OPTIONS
-a, --age=age [default: 18] age
-h, --help show CLI help
EXAMPLES
usaswim points 50 fr scy m 19.79 -a 20
-> 913
usaswim points 100 Fly LCM Female 1:00.01
-> 929
See code: src/commands/points.ts
1.0.0
6 years ago