corelocationcli icon indicating copy to clipboard operation
corelocationcli copied to clipboard

Any way to print the version number

Open JayBrown opened this issue 4 years ago • 3 comments

Is there a way to print CoreLocationCLI's version number?

Something like CoreLocationCLI -version would be nice.

Currently I'm using the file's CRC-32 value to compare a bundled CoreLocationCLI with the version the user has installed.

JayBrown avatar Jul 28 '20 09:07 JayBrown

Good idea. This is in project scope.

fulldecent avatar Jul 28 '20 20:07 fulldecent

Here is what I'm talking about with the crc32: https://github.com/JayBrown/Cuckoo-Menu/blob/master/cckm.6h.sh#L115-L131

JayBrown avatar Jul 29 '20 20:07 JayBrown

Is there a slick way in Swift to get that from the package.swift?

fulldecent avatar Apr 28 '22 05:04 fulldecent