traindown-cli
traindown-cli is a command line tool for fitness data using
Traindown.
Installation
go install github.com/OliverCardoza/traindown-cli@latest
Usage
To see usage documentation:
traindown-cli --help
This is still a big work in progress. The initial functionality focuses on
validating file content to ensure it follows the
traindown specifiction.
traindown-cli validate -i $FILE_OR_DIR
For convenience you can set the TRAINDOWN_INPUT
env var instead of always
providing the input flag.
export TRAINDOWN_INPUT=~/traindown
# Show a list of all movements
traindown-cli movements
# Show your squat PR
traindown-cli prs Squat
Development
To run the local code during development:
go run main.go
cobra is used to build the CLI scaffolding
which has some specific guides: