feat: implement task procedures

This commit is contained in:
xeruf 2024-08-08 13:06:17 +03:00
parent a3a732879f
commit dea8a46318
3 changed files with 5 additions and 3 deletions

View File

@ -80,7 +80,7 @@ as you work.
The currently active task is automatically time-tracked.
To stop time-tracking completely, simply move to the root of all tasks.
Time-tracking is currently also stopped
when the application is terminated regularly.
when the application is terminated regularly with Ctrl-D.
## Reference

View File

@ -8,8 +8,9 @@ use std::ops::Sub;
use std::path::PathBuf;
use std::str::FromStr;
use std::sync::mpsc;
use std::sync::mpsc::{Sender};
use chrono::{DateTime};
use std::sync::mpsc::Sender;
use chrono::DateTime;
use colored::Colorize;
use itertools::Itertools;
use log::{debug, error, info, trace, warn};

View File

@ -4,6 +4,7 @@ use std::iter::{once, Sum};
use std::ops::{Div, Rem};
use std::sync::mpsc::Sender;
use std::time::Duration;
use chrono::{DateTime, Local, TimeZone};
use chrono::LocalResult::Single;
use colored::Colorize;