fulldecent / corelocationcli

Command line program to print location information from CoreLocation
MIT License
217 stars 29 forks source link

Any way to print the version number #30

Open JayBrown opened 4 years ago

JayBrown commented 4 years ago

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.

fulldecent commented 4 years ago

Good idea. This is in project scope.

JayBrown commented 4 years ago

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

fulldecent commented 2 years ago

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