Merge pull request #4302 from mobrine1/patch-1
#4289 printing json output
This commit is contained in:
commit
de72734076
@ -379,7 +379,7 @@ def main(args):
|
|||||||
print_commands()
|
print_commands()
|
||||||
return
|
return
|
||||||
|
|
||||||
print(getattr(client, command)(*args["command_arguments"]))
|
print(json.dumps(getattr(client, command)(*args["command_arguments"])))
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user