Closed alikins closed 6 years ago
Mv cli 'version' logic to ansible_galaxy.action.version
Update the version format to look more like the 'ansible --version' output.
Add unit tests.
a little overkill after I noticed the 'mazer version' output had a line like
Ansible Galaxy CLI, version0.1.0
New format is also slightly easier to parse for something like the issue triage bots
name = mazer version = 0.1.0 config_file = /home/adrian/.ansible/mazer.yml uname = Linux, newswoop, 4.16.6-202.fc27.x86_64, #1 SMP Wed May 2 00:09:32 UTC 2018, x86_64 executable_location = /home/adrian/venvs/galaxy-cli-py3/bin/mazer python_version = 3.6.5 (default, Apr 4 2018, 15:01:18) [GCC 7.3.1 20180303 (Red Hat 7.3.1-5)] python_executable = /home/adrian/venvs/galaxy-cli-py3/bin/python
SUMMARY
Mv cli 'version' logic to ansible_galaxy.action.version
Update the version format to look more like the 'ansible --version' output.
Add unit tests.
a little overkill after I noticed the 'mazer version' output had a line like
New format is also slightly easier to parse for something like the issue triage bots
ISSUE TYPE
GALAXY CLI VERSION
ADDITIONAL INFORMATION