{"action":"created","issue":{"url":"https://api.github.com/repos/pywbem/pywbem/issues/1244","repository_url":"https://api.github.com/repos/pywbem/pywbem","labels_url":"https://api.github.com/repos/pywbem/pywbem/issues/1244/labels{/name}","comments_url":"https://api.github.com/repos/pywbem/pywbem/issues/1244/comments","events_url":"https://api.github.com/repos/pywbem/pywbem/issues/1244/events","html_url":"https://github.com/pywbem/pywbem/issues/1244","id":319965546,"number":1244,"title":"Need universal cmd line way to get pywbem version","user":{"login":"KSchopmeyer","id":2340817,"avatar_url":"https://avatars3.githubusercontent.com/u/2340817?v=4","gravatar_id":"","url":"https://api.github.com/users/KSchopmeyer","html_url":"https://github.com/KSchopmeyer","followers_url":"https://api.github.com/users/KSchopmeyer/followers","following_url":"https://api.github.com/users/KSchopmeyer/following{/other_user}","gists_url":"https://api.github.com/users/KSchopmeyer/gists{/gist_id}","starred_url":"https://api.github.com/users/KSchopmeyer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KSchopmeyer/subscriptions","organizations_url":"https://api.github.com/users/KSchopmeyer/orgs","repos_url":"https://api.github.com/users/KSchopmeyer/repos","events_url":"https://api.github.com/users/KSchopmeyer/events{/privacy}","received_events_url":"https://api.github.com/users/KSchopmeyer/received_events","type":"User","site_admin":false},"labels":[{"id":342481636,"url":"https://api.github.com/repos/pywbem/pywbem/labels/discussion%20needed","name":"discussion needed","color":"159818","default":false},{"id":349930680,"url":"https://api.github.com/repos/pywbem/pywbem/labels/release:%20user%20generated","name":"release: user generated","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-05-03T15:16:59Z","updated_at":"2018-05-04T13:19:31Z","closed_at":null,"author_association":"COLLABORATOR","body":"At least one (Cassius Concepcion) user with wide distribution of pywbem usage and installations over wide set of tools (yum, rpm, pip, etc.) needs a way to get the pywbem version from the various installations preferably a cmd line way.\r\n\r\nSince we only added the --version option to wbemcli as of pywbem 0.11.0, that is not universal as a cmdline mechanism.\r\n\r\nThey cannot depend on things like pip list exclusively because not all installations were piped. Nor can they depend on a single installation tool since there are many variations in the tools used and in trying to get version information out of these installations.\r\n\r\nThey are looking first for suggestions."},"comment":{"url":"https://api.github.com/repos/pywbem/pywbem/issues/comments/386598895","html_url":"https://github.com/pywbem/pywbem/issues/1244#issuecomment-386598895","issue_url":"https://api.github.com/repos/pywbem/pywbem/issues/1244","id":386598895,"user":{"login":"andy-maier","id":8939758,"avatar_url":"https://avatars2.githubusercontent.com/u/8939758?v=4","gravatar_id":"","url":"https://api.github.com/users/andy-maier","html_url":"https://github.com/andy-maier","followers_url":"https://api.github.com/users/andy-maier/followers","following_url":"https://api.github.com/users/andy-maier/following{/other_user}","gists_url":"https://api.github.com/users/andy-maier/gists{/gist_id}","starred_url":"https://api.github.com/users/andy-maier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/andy-maier/subscriptions","organizations_url":"https://api.github.com/users/andy-maier/orgs","repos_url":"https://api.github.com/users/andy-maier/repos","events_url":"https://api.github.com/users/andy-maier/events{/privacy}","received_events_url":"https://api.github.com/users/andy-maier/received_events","type":"User","site_admin":false},"created_at":"2018-05-04T13:19:31Z","updated_at":"2018-05-04T13:19:31Z","author_association":"CONTRIBUTOR","body":"The following approach should work with all pywbem versions that were ever released to Pypi:\r\n```\r\n$ python -c \"import pywbem; print(pywbem.__version__)\"\r\n0.12.1.dev22\r\n```"}}
{"actor":{"display_login":"andy-maier"}}