Make list operation faster by not fully populating all image definitions. Find longest strings to output and size output fields accordingly for better format.
Note: This skips validation of image definitions, which with the number of image definitions in keg-recipes just takes way too long for a simple list command. The version number is also not necessarily available in the output (only when defined in images/, which for instance is not the case in keg-recipes), but I think that's ok and version numbers can be overwritten anyway.
Make list operation faster by not fully populating all image definitions. Find longest strings to output and size output fields accordingly for better format.
Note: This skips validation of image definitions, which with the number of image definitions in keg-recipes just takes way too long for a simple list command. The version number is also not necessarily available in the output (only when defined in
images/
, which for instance is not the case in keg-recipes), but I think that's ok and version numbers can be overwritten anyway.