mirror of
https://github.com/ansible/awx.git
synced 2026-03-21 02:47:35 -02:30
Merge pull request #13168 from ArtsiomMusin/feature_13055_add_multiple_assert_export
Add multiple asset export for awx cli
This commit is contained in:
@@ -161,7 +161,7 @@ class Export(CustomCommand):
|
||||
# 1) the resource flag is not used at all, which will result in the attr being None
|
||||
# 2) the resource flag is used with no argument, which will result in the attr being ''
|
||||
# 3) the resource flag is used with an argument, and the attr will be that argument's value
|
||||
resources.add_argument('--{}'.format(resource), nargs='?', const='')
|
||||
resources.add_argument('--{}'.format(resource), nargs='*')
|
||||
|
||||
def handle(self, client, parser):
|
||||
self.extend_parser(parser)
|
||||
|
||||
Reference in New Issue
Block a user