config current-context get cli command
elastic config current-context get
Print the current context name
--config-filestring- path to the config file to edit (defaults to ~/.elasticrc.yml)
--dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--json-
output as JSON