Commit Graph

20 Commits

Author SHA1 Message Date
a52071258a Format list. 2022-07-18 15:44:37 +02:00
d7f38f26b9 Use delete instead of remove on README. 2022-07-18 15:00:07 +02:00
3561fe27b9 Refractor file writing and implement delete feature. 2022-07-18 14:56:26 +02:00
179cbc144a Use readers/writers more extensively. 2022-07-18 14:30:04 +02:00
0eb8ad8065 Improve habit writing to files. 2022-07-13 23:57:20 +02:00
baa2b8c612 Give status information about new habit added. 2022-07-13 10:38:01 +02:00
b5f4c3bb13 Enumerate habits in list subcommand. 2022-07-13 10:32:41 +02:00
6961e4e3f3 Complete add functionality. 2022-07-13 10:29:54 +02:00
5a7bdf0c57 Refractor to eliminate redundant code. 2022-07-13 10:14:40 +02:00
80ac11462c Move imports to respective functions. 2022-07-12 23:49:38 +02:00
e65563c824 Import habits from JSON file. 2022-07-08 23:07:31 +02:00
7c6cf077fe Add Debug to Habit for printing. 2022-07-08 23:07:00 +02:00
6551012a71 Only use XDG_DATA_HOME. 2022-07-08 18:27:32 +02:00
2fbd97a622 Simplify adding htracker to XDG_DATA_HOME path. 2022-07-08 17:49:58 +02:00
2149821ebd Give error if data_dir exists but is a file. 2022-07-08 17:24:59 +02:00
e62722e397 Add JSON support. 2022-07-08 14:08:38 +02:00
1d61c2b439 Better error handling. 2022-07-08 13:47:08 +02:00
64af383fc6 Create data directory in XDG_DATA_HOME 2022-07-08 10:26:01 +02:00
9f4b8d5e7a Add CI config. 2022-07-07 13:43:16 +02:00
823b5b5926 Initial commit. 2022-07-07 13:39:19 +02:00