Proposal: .iamy-version file
- 主要语言
- Go
- 星标
- 245
- 派生
- 22
- PR 合并指标
- 30 天内没有已合并 PR
描述
We've had a few issues where people have gotten stuck/confused because the version of iamy they're running is newer/older than the version last used in that repository.
I'd like to add an `.iamy-version` file to be written to working directory that is in part inspired by Ruby bundler's version checking.
Behaviour:
* if it doesn't exist, it's created as `.iamy-version` with the current output of `iamy --version` and an INFO message is printed
* if it does exist and your version is newer than what's in `.iamy-version`, the file is overwritten and an INFO message is printed
* if it does exist and your version is the same, nothing happens
* if it does exist and your version is older by minor or patch version, a WARN message is printed
* if it does exist and your version is older by major version, an ERROR message is printed and execution stops
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。