pub fn list(latest: bool) -> Result<(), PackageError>
Expand description
Edited: updated to deal with get_packages_dir() returning ExecutorErrors. Also added option to only show latest packages and also standard packages.
Lists the packages locally build and available. use console::style; Arguments
latest
: If set to true, only shows latest version of each package.
Returns
Nothing other than prints on stdout if successfull, or an ExecutorError otherwise.