CLI Version Command

I realize this may be trivial, but could we get a specific ‘-version, -v’ command?
I see the version (and commit ID, thanks!) is listed under ‘-help’, but it would be great to get a single line print out of the version/commit ID so we can run this on new deployments, audits, etc.

If there is another way to produce this output, please let me know. Thanks!

Sorry, duplicacy help is the only way to show the version. If you want only that line you can run a command like duplicacy help | grep [0-9].

duplicacy help | awk '/^VERSION:/{i=1;next;}{if(i){print $1;exit;}}'

but really, a -v flag would be a lot better :slight_smile: