|Konstantine c04361b431||3 months ago|
|spec||3 months ago|
|src||3 months ago|
|.editorconfig||3 months ago|
|.gitignore||3 months ago|
|.travis.yml||3 months ago|
|Cakefile||3 months ago|
|LICENSE||3 months ago|
|README.md||3 months ago|
|shard.yml||3 months ago|
Consume Cycling data from rides then parse said data into CSV file for use with other programs.
Cycles -> Records Ride Data (time, distance, etc) -> Store Data in CSV -> Access Data
Created as a means to solve my simple problem of entering cycling and training data offline and quickly without fuss on any device that can run a terminal emulator.
To install the program run use the crystal compiler to handle it.
$ crystal build src/cycling.cr --release
You can optionally use Cake in the directory to compile. Cake is a version of a Makefile specifically for Crystal projects.
If you’re not familiar with building programs in Crystal or want to know more refer to the using the compiler section of the crystal docs.
I wanted it to be simple and not get in the way, so simply running
cycling should work.
If you want the program to create a new file in a particular place within your filesystem specify it with the
$ cycling -f <new file>
$ cycling --file <new file>
The program accepts flags, use
-h to read about them.
$ cycling -h
$ cycling --help
I want to add more flags so you can import data from AAT and output into stdout for piping in the console.
I would love to see this work with GnuPlot to create charts in the console, or export to JSON to be used with web programs.
No shard dependencies used, but make sure your version of crystal is up to date.
All development happens in the
git checkout -b my-new-feature)
git commit -am 'Add some feature')
git push origin my-new-feature)