Merge branch 'devel' into feature_constructed-inventory

This commit is contained in:
Hao Liu
2023-01-31 16:42:11 -05:00
86 changed files with 2421 additions and 1019 deletions

View File

@@ -1,6 +1,10 @@
awxkit
======
Python library that backs the provided `awx` command line client.
A Python library that backs the provided `awx` command line client.
For more information on installing the CLI and building the docs on how to use it, look [here](./awxkit/cli/docs).
It can be installed by running `pip install awxkit`.
The PyPI respository can be found [here](https://pypi.org/project/awxkit/).
For more information on installing the CLI and building the docs on how to use it, look [here](./awxkit/cli/docs).

View File

@@ -122,6 +122,15 @@ class ResourceOptionsParser(object):
action='store_true',
help=('fetch all pages of content from the API when ' 'returning results (instead of just the first page)'),
)
parser.add_argument(
'--order_by',
dest='order_by',
help=(
'order results by given field name, '
'prefix the field name with a dash (-) to sort in reverse eg --order_by=\'-name\','
'multiple sorting fields may be specified by separating the field names with a comma (,)'
),
)
add_output_formatting_arguments(parser, {})
def build_detail_actions(self):