Except for cat requests?
❄ laura@laura-thinkpad-p1-gen5:~ ❄ elastic es cat help --json --dry-run
{"success":true}
every other command I've tried returns nothing, unless I put --json after:
❄ laura@laura-thinkpad-p1-gen5:~ ❄ elastic es index --index my-index --id abc123 --use-context local --document {"data":"a"} --dry-run
❄ laura@laura-thinkpad-p1-gen5:~ ❄ elastic es index --index my-index --id abc123 --use-context local --document {"data":"a"} --dry-run --json
{"success":true}
Except for
catrequests?every other command I've tried returns nothing, unless I put
--jsonafter: