Implement modifying tasks' "wait" value

This commit is contained in:
Dustin J. Mitchell
2021-05-23 18:16:11 -04:00
committed by Dustin J. Mitchell
parent d7d703f135
commit e977fb294c
8 changed files with 166 additions and 4 deletions

View File

@@ -31,9 +31,16 @@ pub(crate) use modification::{DescriptionMod, Modification};
pub(crate) use subcommand::Subcommand;
use crate::usage::Usage;
use chrono::prelude::*;
use lazy_static::lazy_static;
type ArgList<'a> = &'a [&'a str];
lazy_static! {
// A static value of NOW to make tests easier
pub(super) static ref NOW: DateTime<Utc> = Utc::now();
}
pub(crate) fn get_usage(usage: &mut Usage) {
Subcommand::get_usage(usage);
Filter::get_usage(usage);