traindown-cli

command module
v0.0.0-...-3d51ea4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 1 Imported by: 0

README

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:

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL