iron-cardio 0.1.6
A CLI tool to create, save, and track progress of Iron Cardio sessions.
Requires Python: >=3.10,<4.0
Keywords: CLI,kettlebells

# Created 2023-09-30 Sat 12:24
#+options: toc:t
#+title: iron-cardio
#+author: Russell Helmstedter
#+description: README file for iron-cardio cli tool
#+keywords: kettlebells, iron cardio, cli
#+language: en
#+export_file_name: ../README.org

iron-cardio is a CLI designed to create and save iron cardio sessions.

* Installation
Use [[https://github.com/pypa/pipx][pipx]]
#+begin_src bash
pipx install iron-cardio
#+end_src
* Usage
** Initialize
Run the ~init~ command. This creates the database.

#+begin_src bash
iron-cardio init
#+end_src

Next, run the ~setloads~ command. This sets the units to either pounds or kilograms, the user's bodyweight, and the loads for the light, medium, and heavy kettlebell. This command can be run as needed when the user is ready to move up in load.

#+begin_src bash
iron-cardio setloads
#+end_src

** Commands
*** session
The ~session~ command generates a random iron cardio session.
#+begin_src bash
iron-cardio session
#+end_src

Generated sessions are built from the following parameters

|--------------------------+----------------------------|
| Parameter                | Options                    |
|--------------------------+----------------------------|
| *Single Bell Variations* | Classic                    |
|                          | Classic + Pullup           |
|                          | Classic + Snatch           |
|                          | Traveling 2s               |
|                          | Traveling 2s + Snatch      |
|                          | Traveling 2s + Pullup      |
|                          | Armor Building Complex 2.0 |
|--------------------------+----------------------------|
| *Double Bell Variations* | Double Classic             |
|                          | Double Traveling 2s        |
|                          | Double Classic + Pullup    |
|                          | Armor Building Complex     |
|--------------------------+----------------------------|
| *TIMES*                  | 30 mins                    |
|                          | 20 mins                    |
|                          | 10 mins                    |
|--------------------------+----------------------------|
| *LOADS*                  | heavy                      |
|                          | medium                     |
|                          | light                      |
|--------------------------+----------------------------|
| *SWINGS*                 | 0 - 100                    |

*** done
The ~done~ command saves the most recently generated session to the database.

#+begin_src
iron-cardio done
#+end_src

To save a custom session, use the ~--custom~ flag. This allows the user to create a custom session.

#+begin_src
iron-cardio done -c
#+end_src

*** last
The ~last~ command displays the last saved session and calculates the amount of weight moved, the number of reps, and the pace (sec/rep).

#+begin_src bash
iron-cardio last
#+end_src

*** stats
The ~stats~ command displays the aggregated weight moved, number of reps, and pace for all sessions in the database.

#+begin_src bash
iron-cardio stats
#+end_src

*** best
The ~best~ command displays the top ten sessions based on the weight moved.
#+begin_src bash
iron-cardio best
#+end_src