PPVF6CAUFB6GIKSYLQ2IYIOPSRRNNBQUG5CLXJDMO6PRD23M4F3AC
MIIKFTYUUN5UC74HIC5SMCPAWU7ZYOHWANZLCPWREKSPD4UE65JQC
FTI67CGF4MMPDFA6YJN6UKOADQLFAECKGYPTWSPSALVQK76BJMJAC
F2QYIRKBFYFWSTB7Z5CNGSZVYI6XQO3MHPUHJLBHPGLIOG7UNVNQC
/// Show how long the command ran #[structopt(long)] duration: bool,
/// Show how long the command ran
#[structopt(long)]
duration: bool,
if args.duration { header.push(Cell::new("duration").add_attribute(Attribute::Bold)) };
if args.duration {
header.push(Cell::new("duration").add_attribute(Attribute::Bold))
};
if args.duration { row.push(format_duration(entry.time_start, entry.time_finished)) }
row.push(format_duration(entry.time_start, entry.time_finished))
}
}fn format_duration(time_start: DateTime<Utc>, time_finished: DateTime<Utc>) -> String { let duration = time_finished - time_start; duration.to_string()
fn format_duration(time_start: DateTime<Utc>, time_finished: DateTime<Utc>) -> String {
let duration = time_finished - time_start;
duration.to_string()