Commit graph

58 commits

Author SHA1 Message Date
4c0edcd1a5 Add JSON formatter 2024-03-10 20:31:49 -05:00
d1b3604e1e Add Formatter.Logs 2024-03-10 20:31:49 -05:00
8d238d0d76 🔀 Merge branch 'feature/types' into develop 2024-03-10 20:30:52 -05:00
59634f6c3f 🐛 WriteValue can handle slices and maps 2024-03-10 15:49:36 -05:00
820a2de269 ♻️ Get rid of PartialEntry 2024-03-10 15:26:00 -05:00
7e54d6e46c Fix parse_date_test for DST 2024-03-10 13:50:13 -05:00
b89baa3f82 🔀 Merge tag 'v0.0.2' into develop
🔖 Formatting changes
2024-03-09 17:40:19 -06:00
40b2dd5793 🔀 Merge branch 'rel/0.0.2' into stable 2024-03-09 17:39:27 -06:00
33fbdf7ecb 📝 Add to CHANGELOG 2024-03-09 17:38:35 -06:00
17da5b66ea 📝 Add formatter info to README 2024-03-09 16:27:32 -06:00
febbce8a6b Add formatters.Preferred 2024-03-09 16:07:58 -06:00
11dea95ce2 📝 Update README with new features 2024-03-09 15:42:29 -06:00
5b8e4696ea Only add newline to file when needed 2024-03-09 15:38:34 -06:00
2fc60c16c6 🔀 Merge branch 'feature/formatters' into develop 2024-03-07 21:52:07 -06:00
f68aebdedb 💯% 2024-03-07 21:50:51 -06:00
da3b524925 Separate formatters in config 2024-03-07 21:19:45 -06:00
99f6dc3f8c Use plain formatter to output entry from drop 2024-03-07 10:48:41 -06:00
89e6c2b3bd Add plain text formatter 2024-03-07 10:10:54 -06:00
286ac4557d ♻️ Add tools.WriteValue 2024-03-03 13:56:48 -06:00
fd5d315164 📝 Add README 2024-03-02 17:10:06 -06:00
9e1bc2ccb0 🔀 Merge tag 'v0.0.1' into develop
🔖🎉 Initial release
2024-03-02 15:10:20 -06:00
bcfbbd730e 🔀 Merge branch 'rel/0.0.1' into stable 2024-03-02 15:08:37 -06:00
a39665747d 📝 Added CHANGELOG 2024-03-02 15:06:43 -06:00
a61af1b4b3 Use dot as folder separator
Also don't add dot if no extension
2024-02-26 19:30:32 -06:00
0687671c7d 🐛 Ensure config directory exists 2024-02-25 15:53:37 -06:00
bc6c3d0f36 Parse date in drop command 2024-02-25 15:25:34 -06:00
b8271227b2 🔀 Merge branch 'feature/drop' into develop
 Add drop command
2024-02-25 13:40:09 -06:00
c1b1ceb283 Use ParseDate in Entry 2024-02-25 13:39:12 -06:00
96c3b2ff30 Use ParseDate in Parse
Also limit to English, or we get lots of false positives
2024-02-25 13:12:13 -06:00
391452e3d9 ParseDate should handle DateFormat 2024-02-25 12:36:43 -06:00
44e79916d3 🐛 Only truncate minutes and seconds
Also ensure we're getting date.Time for specific times
2024-02-25 09:53:52 -06:00
70b82761c2 Add tools.ParseDate 2024-02-24 20:38:27 -06:00
c01fb53a0e Fill out append test better 2024-02-11 17:24:50 -06:00
cc9e8f6167 Drop command 2024-02-11 13:50:27 -06:00
a062e71a29 🔀 Merge branch 'feature/config' into develop 2024-02-10 13:36:44 -06:00
3546c1d7f6 Write config file 2024-02-10 13:35:47 -06:00
a6f3cf39a0 🐛 Load config env before paraing cli 2024-02-10 11:48:23 -06:00
85f666cbc2 Parse env vars 2024-02-10 11:06:00 -06:00
25f5c37243 Parse config overrides on cli 2024-02-09 09:44:35 -06:00
40f9518611 Load config from file with defaults 2024-02-04 18:19:19 -06:00
2da9fcac37 🔥 Remove viper 2024-02-04 14:01:29 -06:00
85abc8cb34 Unmarshal log 2024-02-03 18:52:12 -06:00
44c9736535 🛠 Always fmt before test or build 2024-02-03 17:14:37 -06:00
fb6c2fb941 🛠 Add Makefile 2024-02-03 15:32:13 -06:00
4eb6101e7e 🙈 Add .gitignore
From https://www.toptal.com/developers/gitignore/api/go,linux,emacs,macos
2024-01-31 08:44:10 -06:00
16a0a9d20b Special handling of json field 2024-01-30 23:40:47 -06:00
0da5efcafe Entry implements json.Unmarshaler 2024-01-29 22:07:18 -06:00
eff9a454f9 🧪 Test json.Unmarshaler implementation for Entry 2024-01-28 22:02:57 -06:00
f3bf89b09e Entry implements json.Marshaler 2024-01-28 19:41:30 -06:00
7e1c51d698 🧪 Test json.Marshaler implementation for Entry 2024-01-28 19:23:51 -06:00