diff --git a/README.md b/README.md index 2de9042..d203a1a 100644 --- a/README.md +++ b/README.md @@ -79,8 +79,10 @@ yq() { ## Features - Written in portable go, so you can download a lovely dependency free binary +- [Colorize the output](https://mikefarah.gitbook.io/yq/usage/color) - [Deep read a yaml file with a given path expression](https://mikefarah.gitbook.io/yq/commands/read#basic) - [List matching paths of a given path expression](https://mikefarah.gitbook.io/yq/commands/read#path-only) +- [Return the lengths of arrays/object/scalars](https://mikefarah.gitbook.io/yq/commands/read#length) - Update a yaml file given a [path expression](https://mikefarah.gitbook.io/yq/commands/write-update#basic) or [script file](https://mikefarah.gitbook.io/yq/commands/write-update#basic) - Update creates any missing entries in the path on the fly - Deeply [compare](https://mikefarah.gitbook.io/yq/commands/compare) yaml files @@ -114,6 +116,7 @@ Available Commands: write yq w [--inplace/-i] [--script/-s script_file] [--doc/-d index] sample.yaml 'b.e(name==fr*).value' newValue Flags: + -C, --colors print using colors -h, --help help for yq -I, --indent int sets indent level for output (default 2) -P, --prettyPrint pretty print diff --git a/cmd/version.go b/cmd/version.go index 3d21313..02b46d8 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -11,7 +11,7 @@ var ( GitDescribe string // Version is main version number that is being run at the moment. - Version = "3.1.2" + Version = "3.2.0" // VersionPrerelease is a pre-release marker for the version. If this is "" (empty string) // then it means that it is a final release. Otherwise, this is a pre-release diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 7dd67ec..6bf1f8e 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,5 +1,5 @@ name: yq -version: '3.1.2' +version: '3.2.0' summary: A lightweight and portable command-line YAML processor description: | The aim of the project is to be the jq or sed of yaml files.