aboutsummaryrefslogtreecommitdiff
path: root/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Add --all/-a to dump all records. Output is affected by --dump-* argumentsHEADmasterJoseph Hunkeler2022-06-171-5/+25
|
* Let the user modify the journal storage path with the WEEKLY_JOURNAL_ROOT ↵Joseph Hunkeler2022-02-031-1/+14
| | | | | | environment variable. * Now that the path can be modified at random an existence check was added before calling dump_week(...)
* Initialize do_style to prevent random inability to run the program without ↵Joseph Hunkeler2022-01-281-15/+12
| | | | arguments
* Refactor project structureJoseph Hunkeler2022-01-181-537/+2
|
* DocumentationJoseph Hunkeler2022-01-181-1/+1
| | | | | * Update README * Fix missing short option in usage statement
* Improvements:Joseph Hunkeler2022-01-181-57/+295
| | | | | | | | * Add -s/--dump-style facilities (long, short, csv, dict) * Records are stored using SOH, SOT, and EOT ASCII control codes to make parsing easier * Weekly journal entries are read individually and formatted before being dumped * Variable name cleanup: uweek -> user_week, and so on * When writing to the journal succeeds but removing its temporary files fails, keep going
* Fix windowsJoseph Hunkeler2022-01-141-4/+7
|
* Fix linuxJoseph Hunkeler2022-01-141-19/+33
|
* Add MSVC and MINGW supportJoseph Hunkeler2022-01-141-43/+226
|
* Fix program_name in usage statementJoseph Hunkeler2022-01-141-3/+6
|
* Initial commitJoseph Hunkeler2022-01-141-0/+416