To get the tagging right, in a lightweight package.
Execute ./gradlew installDist
to get an executable shell script,
and run ./build/install/esphome2influxdb/bin/esphome2influxdb ${your-config-file}.yaml
.
For further details, see detailed documentation at ./docs.