You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sorry, I don't have much experience with Go, otherwise I would put together a PR for this. If I get some time when work slows down, I can try my hand at it, assuming someone familiar with the language/tool hasn't gotten to it first.
Please describe your feature request.
Ability to sort keys ignoring case (not case sensitive).
Describe the solution you'd like
If we have data1.yml like:
And we run a command:
yq -P 'sort_keys_insensitive(..)' data1.yml
it could output
Describe alternatives you've considered
I tried to use
'sort_keys(..|downcase)'
but it does not work (probably as expected).Additional context
While I don't want to consider case for the purpose of the sort, I would like to retain the case of the keys in the output.
The text was updated successfully, but these errors were encountered: