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

Support -version argument #30

@atz

Description

@atz

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions