Difference between revisions of "Opensearch-cli"

From wikieduonline
Jump to navigation Jump to search
Line 3: Line 3:
 
* Install: download package for your platform
 
* Install: download package for your platform
 
* Config: <code>[[~/.opensearch-cli/config.yaml]]</code>
 
* Config: <code>[[~/.opensearch-cli/config.yaml]]</code>
* Help: [[opensearch-cli curl get --help]]
+
* Help: <code>[[opensearch-cli --help]], [[opensearch-cli curl get --help]]</code>
  
 
Examples:  
 
Examples:  

Revision as of 14:34, 26 April 2022

Examples:


opensearch-cli --help
opensearch-cli is a unified command line interface for managing OpenSearch clusters
 
Usage:
  opensearch-cli [command]
Available Commands:
  ad          Manage the Anomaly Detection plugin
  completion  Generate completion script for your shell
  curl        Manage OpenSearch platform features
  help        Help about any command
  knn         Manage the k-NN plugin
  profile     Manage a collection of settings and credentials that you can apply to an opensearch-cli command

Flags:
  -c, --config string    Configuration file for opensearch-cli, default is /Users/sf/.opensearch-cli/config.yaml
  -h, --help             Help for opensearch-cli
  -p, --profile string   Use a specific profile from your configuration file
  -v, --version          Version for opensearch-cli

Use "opensearch-cli [command] --help" for more information about a command.


See also

Advertising: