From 68e2d78a65a32d2999bf08217cf6d1e421eb69ba Mon Sep 17 00:00:00 2001 From: Clement Denoix Date: Mon, 25 Mar 2024 09:57:03 +0100 Subject: [PATCH] fix(cmd): Fix rules browse cmd example --- pkg/cmd/rules/browse/browse.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/cmd/rules/browse/browse.go b/pkg/cmd/rules/browse/browse.go index 2ec625b4..b6b13a00 100644 --- a/pkg/cmd/rules/browse/browse.go +++ b/pkg/cmd/rules/browse/browse.go @@ -48,7 +48,7 @@ func NewBrowseCmd(f *cmdutil.Factory) *cobra.Command { $ algolia rules browse MOVIES # List all the rules of the "MOVIES" index and save them to a 'rules.ndjson' file - $ algolia rules browse MOVIES --json > rules.ndjson + $ algolia rules browse MOVIES -o json > rules.ndjson `), RunE: func(cmd *cobra.Command, args []string) error { opts.Indice = args[0]