Migrate the [version 2.0](https://github.com/mallocator/Elasticsearch-Exporter/blob/master/args.js) cli option handling code to this repo.