From f417482fee7df5b2f6cd1ae3e235e391aba56364 Mon Sep 17 00:00:00 2001 From: Abhinav Gupta Date: Mon, 23 Jan 2023 10:43:20 -0800 Subject: Upgrade to yaml.v3 (#69) * config: Don't require packages to be alphabetical The configuration parser requries that entries in the 'packages' section are in alphabetical order. It will fail parsing if that's not the case, even if the configuration is otherwise valid. This seems like an unnecessary artificial limitation. Enforcing such a convention should be the user's choice. This change deletes this limitation. * Upgrade to yaml.v3 * template: Use a more fluid layout (#67) Instead of using a table, take advantage of the grid layout. We still print a table of sorts, but it's more fluid in appearance based on width of the screen. On narrower screens, we'll show a listing where each item has a description label next to it rather than at the top. * Add support for package descriptions (#68) * template: Use a more fluid layout Instead of using a table, take advantage of the grid layout. We still print a table of sorts, but it's more fluid in appearance based on width of the screen. On narrower screens, we'll show a listing where each item has a description label next to it rather than at the top. * Add support for package descrpitions Packages may now optionally specify a description. If specified, this is printed below the package information, indented one column to make it stand out. Co-authored-by: Sung Yoon Whang Co-authored-by: Sung Yoon Whang --- config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.go') diff --git a/config.go b/config.go index 57b5dcd..95dad7a 100644 --- a/config.go +++ b/config.go @@ -4,7 +4,7 @@ import ( "os" "strings" - yaml "gopkg.in/yaml.v2" + yaml "gopkg.in/yaml.v3" ) const ( -- cgit v1.2.3