algolia / cli

🔍 Algolia’s official CLI devtool
https://www.algolia.com/doc/tools/cli
MIT License
102 stars 26 forks source link

[DEX-305][DEX-304] feat: dictionary settings set/get #88

Closed clemfromspace closed 1 year ago

clemfromspace commented 1 year ago

Introducing two new commands related to the dictionaries:

Usage:
  algolia dictionary settings set --disable-standard-entries <languages...>  --enable-standard-entries <languages...> [--reset-standard-entries] [flags]

Examples
  # Disable standard entries for English and French
  $ algolia dictionary settings set --disable-standard-entries en,fr

  # Enable standard entries for English and French languages
  $ algolia dictionary settings set --enable-standard-entries en,fr

  # Disable standard entries for English and French languages and enable standard entries for Spanish language.
  $ algolia dictionary settings set --disable-standard-entries en,fr --enable-standard-entries es

  # Reset standard entries to their default values
  $ algolia dictionary settings set --reset-standard-entries
Usage:
  algolia dictionary settings get [flags]

Examples
  # Get the dictionary settings
  $ algolia dictionary settings get