Skip to content

Commit

Permalink
fix(cmd): Fix rules browse cmd example (#152)
Browse files Browse the repository at this point in the history
  • Loading branch information
clemfromspace authored Mar 25, 2024
1 parent f9157ba commit 119d337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/rules/browse/browse.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 119d337

Please sign in to comment.