Skip to content
This repository has been archived by the owner on Oct 31, 2023. It is now read-only.

Support -version argument #30

Open
atz opened this issue Feb 17, 2021 · 0 comments
Open

Support -version argument #30

atz opened this issue Feb 17, 2021 · 0 comments

Comments

@atz
Copy link

atz commented Feb 17, 2021

Since golicense is distributed in binary form, it would help debugging and differentiation for it to respond to -version in the conventional way.

While go version -m -v /path/to/golicense can provide some detail, this is not necessarily the same thing as a known SemVer identifier. Example:

go version -m -v `which golicense`
/usr/local/bin/golicense: go1.13.4
	path	github.com/mitchellh/golicense
	mod	github.com/mitchellh/golicense	(devel)	
	dep	github.com/360EntSecGroup-Skylar/excelize	v1.4.0	h1:43rak9uafmwSJpXfFO1heKQph8tP3nlfWJWFQQtW1R0=
	...

This is particularly telling because no devel git-ref currently exists in the project.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant