Currently the only flags are -f for non-default envfile, and the builtin -h for help, with -v being expected to control verbosity level after #3
One can already check the version of the compiled binary with go version, for example from the current release:
$ go build
$ go version -json -m envrun | jq .Main.Version
"v0.2.1"
...but that requires having a current Go SDK installed, which may not be the case in some, and indeed most, modern deployments, which separate building from deploying. For such cases, envrun -version is more convenient.
Currently the only flags are
-ffor non-default envfile, and the builtin-hfor help, with-vbeing expected to control verbosity level after #3One can already check the version of the compiled binary with
go version, for example from the current release:...but that requires having a current Go SDK installed, which may not be the case in some, and indeed most, modern deployments, which separate building from deploying. For such cases,
envrun -versionis more convenient.