Skip to content

Provide a -version flag #54

Description

@fgm

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions