Commit Graph

35 Commits

Author SHA1 Message Date
5ce6fb8f60 Add: Duration field in Stamp 2021-11-22 18:48:11 +01:00
56e02021c7 Refactor: stamp add() stop() and update() are now api_post() + added
update branch too
2021-11-19 19:09:41 +01:00
40d74ef0bf Add: Stamp::new() 2021-11-19 19:09:08 +01:00
900d6ae3f0 Add: Added user_id key to Config struct 2021-11-19 18:35:36 +01:00
52a12426e3 Fix: Comments cosmetics 2021-11-19 18:34:27 +01:00
a16fdd3c5f Refactor: changed name of error, other -> err 2021-11-19 18:33:38 +01:00
1a032eda8f Fix: README cosmetics 2021-11-18 20:58:24 +01:00
5087040923 WIP: Stamp update feature (work in progress) 2021-11-18 20:58:06 +01:00
ce2a0d2cbe Add: Stamp stop feature 2021-11-18 20:57:32 +01:00
8a3a4520eb Fix: Added task_id field to our Stamp struct 2021-11-18 20:56:51 +01:00
90e02aaf40 Add: Stamp add function 2021-11-18 20:56:06 +01:00
5ea4eead9a Add: New cli options related to stamps (--start, --stop and --update) 2021-11-18 20:53:13 +01:00
fdafa8812f Fix: cosmetics 2021-11-18 11:58:02 +01:00
9f7d2648c4 Add: --project argument to "stamps" for listing stamps per project 2021-11-18 11:57:32 +01:00
0e8e12b453 Add: --last (or -l) to tasks list for listing only last task 2021-11-18 11:20:15 +01:00
effdbb778a Add: New "addtask" command 2021-11-17 19:30:43 +01:00
aba7a2bc03 Add: Tokio added as dependency 2021-11-17 19:29:44 +01:00
4e8aad79c6 Refactor: Getting rid of cmd and moving all the stuff to models 2021-11-17 19:29:44 +01:00
e905688a91 Fix: add --last in the comment 2021-11-16 19:50:23 +01:00
91b918a70e Add: last stamp (-l or --last) feature in stamps subcommand 2021-11-16 19:38:28 +01:00
dc96f2d423 Fix: README little cosmetic "refactor" 2021-11-16 19:37:52 +01:00
b21b660b30 Add: list stamps 2021-11-15 19:04:30 +01:00
6c513d51a6 Fix: remove uid 2021-11-15 19:04:11 +01:00
9e3a84eb31 Add: Changes in Projects + Tasks 2021-11-15 18:39:44 +01:00
43f668a059 Fix: api_call changes. New headers for json + returning a Result now 2021-11-15 18:39:07 +01:00
b12ce8dddc Add: serde_json as requirement 2021-11-15 18:33:03 +01:00
15fd062258 Add: Cmd performs a real api call \o/ 2021-11-14 14:56:09 +01:00
2441d8c4a2 Add: Some comments added in the main.rs 2021-11-14 14:55:53 +01:00
8125876634 Fix: Change a bit the config Struct 2021-11-14 14:55:30 +01:00
051ea2566e Add: Reqwest as a dependency for api calls 2021-11-14 14:54:51 +01:00
1e9acf61e6 Refactor: Moving README 2021-11-13 19:59:27 +01:00
0c3a4946e6 Add: NOTES.md is now README.md 2021-11-13 19:57:07 +01:00
14d47b9b93 Add: WIP project tasks 2021-11-12 23:53:55 +01:00
a6f45419a4 Del: configparser extern crate, using toml to read the configuration for
now
2021-11-12 23:44:05 +01:00
415c39bc81 Initial commit 2021-11-12 23:41:31 +01:00