isthisnagee
4b8bc4b4e1
Tidy up go.mod
3 years ago
isthisnagee
1c595d7c45
Clean up cmd files + cmd line documentation
3 years ago
isthisnagee
6521e68ee3
Update imports to reflect new location
3 years ago
isthisnagee
e422a705fb
wip
3 years ago
isthisnagee
4b32bb67f4
Add short and long descriptions to the commands
3 years ago
isthisnagee
3760466b31
Add ability to edit
3 years ago
isthisnagee
a88b0f1444
Add diary binary to gitignore
3 years ago
isthisnagee
11f9d06754
Add DS_Store to gitignore
3 years ago
isthisnagee
540ea14854
Use a temp file to create the note
3 years ago
isthisnagee
8bc8b84583
Delete notes when deleting entry
...
The notes that the user will delete is also shown to them
3 years ago
isthisnagee
b7d278f149
Add command to add note + show an entry
3 years ago
isthisnagee
9d0a00bd59
this commit hsould be broken up
3 years ago
isthisnagee
afecf9628c
Add notes to diary entries
3 years ago
isthisnagee
91b76a3a20
Rename model to entry
3 years ago
isthisnagee
c822f8ec91
Add delete method :)
3 years ago
isthisnagee
7a86bee9fa
Run cobra init
3 years ago
isthisnagee
19d5d5f3c8
Add basic model
3 years ago
isthisnagee
4994ecf63c
Rename to diary
...
Also, this should be in a separate commit, but update the initial
migration
3 years ago
isthisnagee
42a61dcddb
Refactor db code
...
The versioning now happens using the user_version pragma, provided by
sqlite. From the docs:
> The user-version is an integer that is available to applications to use
> however they want. SQLite makes no use of the user-version itself.
Also the migrations happen in their own loop. Each migratin should
get tested(?)
3 years ago
isthisnagee
06891059ac
Refactor project structure
3 years ago
isthisnagee
e3d511db69
Create DB file
...
The eng_log_version table will be used to figure out which migrations to
run.
3 years ago
isthisnagee
378d0c711d
Add ignore file
3 years ago
isthisnagee
f9b69c1884
Add driver dependency
3 years ago
isthisnagee
63602265b2
Initial commit
...
I have no clue what I'm doing haha
3 years ago