This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
Improve 'mazer list' output, add fully qualified output. Fixes #196 #275
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
SUMMARY
Improve 'mazer list' output, add fully qualified output.
Fixes #196
Add 'list --full' to list fully qualified collection names.
Make the default output more human readable, especially the '--content' output.
ie, list the collection and content names as they would be
referenced from a playbook.
Also include the 'python path' name for plugins/module_utils.
For ex:
To show collections content with the full names you need to use from a playbook,
use 'mazer list --content --full'
The new default 'mazer list' format
The 'mazer list --content' output
(mazer_0.4.0_py36) [newswoop:F29:mazer (list_output_collection_196 %)]$ mazer list --content
alikins.collection_inspect,0.0.48
alikins.collection_ntp,0.1.182
alikins.collection_reqs_test,2.1113.57
name = mazer
version = 0.5.0
config_file = /home/adrian/.ansible/mazer.yml
uname = Linux, newswoop, 5.0.5-200.fc29.x86_64, #1 SMP Wed Mar 27 20:58:04 UTC 2019, x86_64
executable_location = /home/adrian/venvs/mazer_0.4.0_py36/bin/mazer
python_version = 3.6.8 (default, Jan 27 2019, 09:00:23) [GCC 8.2.1 20181215 (Red Hat 8.2.1-6)]
python_executable = /home/adrian/venvs/mazer_0.4.0_py36/bin/python