Skip to content

Commit

Permalink
fix: examples for dictionary entries clear (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
kai687 authored Jul 22, 2024
1 parent f960c07 commit 0e3184a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pkg/cmd/dictionary/entries/clear/clear.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ func NewClearCmd(f *cmdutil.Factory, runF func(*ClearOptions) error) *cobra.Comm
This command deletes all entries from the specified %s dictionaries.
`, cs.Bold("custom")),
Example: heredoc.Doc(`
# Delete all entries from the "stopword" dictionary
$ algolia dictionary entries clear stopword
# Delete all entries from the "stopwords" dictionary
$ algolia dictionary entries clear stopwords
# Delete all entries from the "stopword" and "plural" dictionaries
$ algolia dictionary entries clear stopword plural
# Delete all entries from the "stopwords" and "plurals" dictionaries
$ algolia dictionary entries clear stopwords plurals
# Delete all entries from all dictionaries
$ algolia dictionary entries clear --all
Expand Down

0 comments on commit 0e3184a

Please sign in to comment.