Module tempus_cli::utils[][src]

Functions

Create a directory & all parent directories if they don’t exist & return the name. Panic if an error occurs while creating the dir

Open a file for appending or create it if it doesn’t exist Panic on error, return the file handle

Return the value of $HOME or panic if it doesn’t exist

Returns the length in hours between the start & end time

Get the created time or panic

Convert a SystemTime to chrono::DateTime