mirror of
https://github.com/ZwareBear/awx.git
synced 2026-04-24 17:01:49 -05:00
cli: add ability to specify a name instead of primary key
This commit is contained in:
@@ -62,6 +62,9 @@ def run(stdout=sys.stdout, stderr=sys.stderr, argv=[]):
|
||||
allow_unicode=True
|
||||
)
|
||||
))
|
||||
elif cli.get_config('format') == 'human':
|
||||
sys.stdout.write(e.__class__.__name__)
|
||||
print('')
|
||||
sys.exit(1)
|
||||
except Exception as e:
|
||||
if cli.verbose:
|
||||
|
||||
Reference in New Issue
Block a user