elasticsearch-dump with id and password

use like this
elasticdump --input https://user:password@my.es.com/index

Example:
elasticdump \
  --input=http://userid:passward@137.6.3.10:9200/source_index_name \
  --output=http://127.0.0.1:9200/dest_index_name \
  --type=data