Commit graph

15 commits

Author SHA1 Message Date
a8f8e23cf4
repo/sqlite: returns finished tasks
- repo/fs: returns finished tasks
- cli/list: add --finished flag to get finished tasks

Closes 
2022-08-20 23:38:45 +03:00
e2ac408c35
db: add migration 2022-08-20 16:47:55 +03:00
6a31732d1b
shell/zsh: add remove cmd
Closes 
2022-08-20 16:14:17 +03:00
862b3218e5
repo/sqlite: don't update tas info without changes 2022-08-20 15:54:17 +03:00
eb78dad91a
Replace FS with Sqlite ()
- [x] Deps: add rusqlite
- [x] Deps: add time
- [x] Add created_at to the domain Task
- [x] Add schema and first migration
- [x] Check current version and run migration
- [x] Implement Repository trait
- [x] Add script to migrate from FS implementation

Closes 
Closes 

Reviewed-on: 
Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
Co-committed-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me>
2022-08-20 12:42:20 +00:00
18004c24d0
ux improvements
- rename group to project
- rename path to dir_path
- cli/show: add project to the print part
- cli/show: improve print part error message

Closes 
2022-08-18 14:10:20 +03:00
66c950f6ab
cli: rename the status subcommand to show
add missed licence headers
2022-08-18 11:37:52 +03:00
238e4b0b03
add path to task
Closes 
2022-08-16 22:24:21 +03:00
817c704efc
repo/fs: support of update group 2022-08-16 16:47:51 +03:00
519162a8db
add optional group to the task
Closes 
2022-08-16 16:36:53 +03:00
ee8d185071
repo/fs: fixup update task index 2022-08-16 16:16:41 +03:00
bcc4e59c12
fixup: dont validate current task data 2022-08-16 13:07:05 +00:00
72a37b4a1d
add move other methods to repo 2022-08-16 15:43:44 +03:00
4dbfe41e84
repo: add update data method 2022-08-05 23:40:26 +03:00
8934f4ceef
repo: add repository trait and base fs impl
Closes 
2022-08-05 23:11:44 +03:00