shpotify
shpotify copied to clipboard
Version command
For the sake of debugging and compliance with CLI standards, a version
command of some sort should be included in the shpotify API.
Possible ideas for the command syntax (multiple different syntaxes can be used):
-
spotify -V
-
spotify -v
-
spotify --version
-
spotify version
I like spotify -v
and spotify --version
.
Agree with @tpritc.
I also agree with @tpritc: they are the most standard and thus the most predictable.
Essentially I'm debating whether to go with the simple version output (like Python):
$ python --version
Python 3.4.3
Or something with a license and other info:
$ bash --version
GNU bash, version 4.3.46(1)-release (x86_64-apple-darwin14.5.0)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
I'm probably overthinking this, but I would rather just get it right the first time. What do you guys think about this?
In the meantime I'll just post a PR with a simple version command, and if that's what you guys want, we can merge and be done with this issue.
Added PR #64
Still reeling from the last flurry of commits and the release. Will get to this in time.