Expand description
Utility functions for commands.
Functions
- Construct our
pkg
directory in the crate. - Render a
Duration
to a form suitable for display on a console - Locates the pkg directory from a specific path Returns None if unable to find the ‘pkg’ directory
- If an explicit path is given, then use it, otherwise assume the current directory is the crate path.