Commit Graph

50 Commits

Author SHA1 Message Date
Matthias Beyer ae60c92513 imag-todo: Add copyright notice to all files 2016-10-01 17:35:06 +02:00
Matthias Beyer b9a9fd52c4 imag-todo: Use Err/Ok utils to map 2016-09-08 13:57:09 +02:00
mario e98bc05cfc removed unused imports. functionality which required these imports has been moved to libimagtodo by matthiasbeyer 2016-08-06 12:46:04 +02:00
mario-kr d1adc125eb Merge pull request #17 from matthiasbeyer/libimagtodo/fixes
Libimagtodo/fixes
2016-08-06 12:43:36 +02:00
Matthias Beyer 2da3eadc1c Do not panic if there was no command passed 2016-08-06 11:54:20 +02:00
Matthias Beyer f915a7fa26 We must actually use println!() here 2016-08-06 11:50:50 +02:00
Matthias Beyer 0fd8b3b286 Move deletion logic into lib 2016-08-06 11:39:31 +02:00
Matthias Beyer 6567f3a879 Fix comment which broke the build 2016-08-06 11:08:57 +02:00
Matthias Beyer dc78b1553e Comments for listing subcommand 2016-08-06 10:17:26 +02:00
Matthias Beyer 1a01a391f1 Add comment to task delete procedure 2016-08-06 10:14:01 +02:00
Matthias Beyer 0d2cd16e94 Print the imported string before the information output 2016-08-06 10:11:42 +02:00
Matthias Beyer 01ee30537e Add note why we stdin.lock() here 2016-08-06 10:07:26 +02:00
Matthias Beyer 98a8356150 Reimplement list() 2016-07-21 17:14:13 +02:00
Matthias Beyer 0da8df3c26 Remove unused imports 2016-07-21 17:14:13 +02:00
Matthias Beyer 1f50301ffa Do not use "mut" here, we don't need it 2016-07-21 17:14:13 +02:00
Matthias Beyer 8d89f7bf74 Use if() instead of match here, to have less noise 2016-07-21 17:14:13 +02:00
Matthias Beyer 0cca04c6ac Use Iterator::enumerate() instead of mut variable 2016-07-21 17:14:12 +02:00
Matthias Beyer ca7a901269 Use the right macro here 2016-07-21 17:14:12 +02:00
Matthias Beyer 3af6712d8b Fix indentation in ui definition 2016-07-21 17:14:12 +02:00
Matthias Beyer b918f4abbe Rewrite UI with Task::import() 2016-07-21 17:14:12 +02:00
Matthias Beyer 053c5c13e8 Use generate_runtime_setup() instead of doing it manually 2016-07-21 17:14:12 +02:00
Matthias Beyer b7f4b6317e Adapt for new interface of libimagtodo 2016-07-21 17:14:11 +02:00
Matthias Beyer a8bb444f1d Fix misleading function name 2016-07-21 17:14:11 +02:00
Matthias Beyer 0752058cf5 Format code 2016-07-21 17:14:11 +02:00
Matthias Beyer b2eb2de3fd We do not need to String::push() here twice 2016-07-21 17:14:11 +02:00
Matthias Beyer b78da80717 Do not hide the error here, yell it out! 2016-07-21 17:14:11 +02:00
Matthias Beyer 84890bf8fc Rip out ui setup for "add" subcommand 2016-07-06 19:59:29 +02:00
Matthias Beyer 247cda0352 Rip out exec() 2016-07-06 19:59:29 +02:00
Matthias Beyer aef80874da Remove the most ugly parts 2016-07-06 19:59:29 +02:00
Matthias Beyer fadeae5214 Move functionality to own functions 2016-07-06 19:38:00 +02:00
Matthias Beyer 29c4ed853c Remove unnecessary whitespace 2016-07-06 19:37:49 +02:00
mario 5f731c8f8f change from libimagutil::trace to libimagerror::trace 2016-07-04 14:04:11 +02:00
mario 8c93e54939 reduce warnings 2016-06-30 19:02:12 +02:00
mario 5f1e9d6b30 fixed parentheses 2016-06-30 18:59:53 +02:00
mario 2144c8c425 delete-hook working 2016-06-30 18:38:03 +02:00
mario 8225f1a93e add-hook working 2016-06-30 18:25:57 +02:00
mario 64b07ec355 impl delete
waiting for task-hookrs
2016-06-29 21:37:21 +02:00
mario 72e85399ff implemented list-featureo 2016-06-28 23:05:05 +02:00
mario aa75b5ad9d added "list" option in clap ui 2016-06-28 20:57:53 +02:00
mario 7de2577725 implemented add-hook 2016-06-28 20:13:11 +02:00
mario f00af56fd6 fix syntax error 2016-06-15 12:55:05 +02:00
mario 64adf4a5fb added exec/add with description,priority,project,due and frequency 2016-06-15 12:54:24 +02:00
Yase f015223a8e changed /usr/bin/local/task to task 2016-06-13 11:15:02 +02:00
Yase 41ae20c049 error handling for unwrap process stuff on exec taskwarrior 2016-06-09 17:21:24 +02:00
Yase 2fec50fc10 exec command calls taskwarrior 2016-06-08 14:25:29 +02:00
Yase 0545b6d336 ui.rs needed a multiple(true)
main.rs - now we get the string argument of exec --command <string argument>
2016-06-07 23:45:49 +02:00
Yase 7dbf7e7d39 cmd query 2016-06-01 16:05:43 +02:00
mario b9d6d83bb7 add command parsing 2016-05-10 16:28:35 +02:00
mario d68ed91be1 add first implementation of command build 2016-05-10 15:54:46 +02:00
mario 89ec7df348 Renamed imag-task to imag-todo, libimagtask to libimagtodo 2016-05-03 17:37:53 +02:00