Rendere l'output di phicli json #3

Open
blallo wants to merge 4 commits from json-serialize-output into master

4 Commits

Author SHA1 Message Date
29685a66b5
Black'd 2020-11-20 12:04:17 +01:00
2f2142025f
Print json-serializable in adduser and showgroup 2020-11-20 12:02:29 +01:00
8fbf159461
Print json-serialized output for showuser
Also add `--show-user` flag on cli and black the module.
2020-11-20 12:02:08 +01:00
581270c6c1
Add flag on cli + black
Copied from argparse==3.9 the BooleanOptionalAction, to allow one to
have boolean (optional) flags on the cli.

Also enforced black formatting.
2020-11-20 11:16:07 +01:00