arvydas / blinkstick-python

BlinkStick Python interface to control devices connected to the computer
Other
135 stars 52 forks source link

Add version infrormation to the control script #7

Closed arvydas closed 11 years ago

arvydas commented 11 years ago
blinkstick --version

or

blinkstick -v

should output the current version of pip package.

arvydas commented 11 years ago

I can't see this change in the repository for the control script... Did you forget to push? :-)

robberwick commented 11 years ago

Nope, I forgot to add it to the control script :-)

Added it to the package but forgot the cool script - d'oh On 5 May 2013 13:05, "Arvydas Juskevicius" notifications@github.com wrote:

I can't see this change in the repository for the control script... Did you forget to push? :-)

— Reply to this email directly or view it on GitHubhttps://github.com/arvydas/blinkstick-python/issues/7#issuecomment-17450771 .

arvydas commented 11 years ago

BTW, the -v option sets verbosity level to debug, I think it should be enough just to add --version to return the version number.

robberwick commented 11 years ago

Agreed On 5 May 2013 13:10, "Arvydas Juskevicius" notifications@github.com wrote:

BTW, the -v option sets verbosity level to debug, I think it should be enough just to add --version to return the version number.

— Reply to this email directly or view it on GitHubhttps://github.com/arvydas/blinkstick-python/issues/7#issuecomment-17450808 .

arvydas commented 11 years ago

Hmm actually, I made it more simple. The version information is always displayed in the header o the script:

BlinkStick control script 0.5.0
(c) Agile Innovative Ltd 2013