DeepSourceCorp / cli

Command line interface to DeepSource
https://deepsource.com
BSD 2-Clause "Simplified" License
50 stars 18 forks source link

Add --version #246

Closed jayvdb closed 1 month ago

jayvdb commented 5 months ago

--version is a cheap way to verify a binary is usable, and record in the logs which version was used, useful for detecting when a new release started causing a problem.

jayvdb commented 2 months ago

It appears there is a subcommand version. I believe --version is the expected way to get the version. See https://github.com/taiki-e/install-action/issues/577

jai-deepsource commented 1 month ago

@jayvdb as you mentioned, you can use deepsource version which returns the currently installed version.