A simple command-line utility written in Perl that logs simple daily activities and metrics.
- Quickly add items to a csv log from the terminal
- Generate simple terminal reports for a specified time period
- Time::Piece
- Getopt::Long
- Text::CSV
To install required packages on FreeBSD:
sudo pkg install p5-Time-Piece
sudo pkg install p5-Getopt-Long
sudo pkg install p5-Text-CSVClone the repository:
git clone https://github.com/asuttles/logit.git
cd logitMake the script executable:
chmod +x logitInstall it on the local system:
sudo install -m 755 ./logit /usr/local/bin/logitAdd today's daily run to the log:
logit add today run 30 minutesAdd a weigh-in from a specific date to the log:
logit add 2015-07-04 weight 175 poundsPrint a report of all banjo sessions:
logit report banjoPrint a report of systolic BP readings over the last 20 days:
logit report systolic --last 20Print a report of pushups with a summary:
logit report pushups --summaryPrint the date intersection of 2+ categories:
logit intersect run pushupsDisplay help:
logit helpThis project is licensed under the BSD 2-Clause License. See the LICENSE file for details.