diff --git a/pkg/cmd/api/api.go b/pkg/cmd/api/api.go index f04958c36..a4bbafa9c 100644 --- a/pkg/cmd/api/api.go +++ b/pkg/cmd/api/api.go @@ -131,7 +131,7 @@ func NewCmdApi(f *cmdutil.Factory, runF func(*ApiOptions) error) *cobra.Command $ gh api --preview baptiste,nebula ... # print only specific fields from the response - $ gh api repos/:owner/:repo/issues --filter '.[].title' + $ gh api repos/:owner/:repo/issues --jq '.[].title' # use a template for the output $ gh api repos/:owner/:repo/issues --template \