config context remove cli command
elastic config context remove <name> [options]
Remove a context from the config file
<name>stringrequired- context name
--force- allow removing the current context
--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)
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json-
output as JSON