danielgtaylor / danielgtaylor/apisprout

Support version flag when getting with `go get github.com/danielgtaylor/apisprout`

Open
#69 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
719
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Thank you for creating this great tool.

I would like to see version of apisprout when I get it with `go get github.com/danielgtaylor/apisprout
`.

Currently, I got `Error: unknown flag: --version` since a binary from `go get` isn't generated from `govvv build` in [release.sh](https://github.com/danielgtaylor/apisprout/blob/e14cbf5e9ce2d352d206f3728ba12c0913fcd16b/release.sh)

Step to encounter the unkown flag error.

```
$ go get github.com/danielgtaylor/apisprout
$ which apisprout
/my-GOPATH/go/bin/apisprout
$ apisprout --version
Error: unknown flag: --version
Usage:
.
.
.
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.