Wrap JSON arrays, objects in array with --slurp

Effectively copies `jq --slurp` since `--jq` already uses the same grammar.
This commit is contained in:
Heath Stewart 2024-03-12 02:39:44 -07:00
parent f41876d64c
commit e83e049306
No known key found for this signature in database
14 changed files with 332 additions and 628 deletions

1
go.mod
View file

@ -3,7 +3,6 @@ module github.com/cli/cli/v2
go 1.22
require (
dario.cat/mergo v1.0.0
github.com/AlecAivazis/survey/v2 v2.3.7
github.com/MakeNowJust/heredoc v1.0.0
github.com/briandowns/spinner v1.18.1