Difference between revisions of "Opensearch-cli"

From wikieduonline
Jump to navigation Jump to search
Line 11: Line 11:
 
  [[opensearch-cli]] --help
 
  [[opensearch-cli]] --help
 
  opensearch-cli is a unified command line interface for managing OpenSearch clusters
 
  opensearch-cli is a unified command line interface for managing OpenSearch clusters
 
+
   
 
  Usage:
 
  Usage:
 
   opensearch-cli [command]
 
   opensearch-cli [command]
 
+
 
  Available Commands:
 
  Available Commands:
 
   [[ad]]          Manage the Anomaly Detection plugin
 
   [[ad]]          Manage the Anomaly Detection plugin
Line 26: Line 26:
 
   -c, --config string    Configuration file for opensearch-cli, default is /Users/sf/.opensearch-cli/config.yaml
 
   -c, --config string    Configuration file for opensearch-cli, default is /Users/sf/.opensearch-cli/config.yaml
 
   -h, --help            Help for opensearch-cli
 
   -h, --help            Help for opensearch-cli
   -p, --profile string  Use a specific profile from your configuration file
+
   -p, [[--profile]] string  Use a specific profile from your configuration file
 
   -v, --version          Version for opensearch-cli
 
   -v, --version          Version for opensearch-cli
 
   
 
   

Revision as of 14:38, 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: