status: introduce --show-json (#3998)

Fixes #1406
This commit is contained in:
Ruslan Kuprieiev
2020-06-10 01:51:30 +03:00
committed by GitHub
parent 5efc3bbee2
commit db69def834
3 changed files with 51 additions and 5 deletions
+6
View File
@@ -363,5 +363,11 @@ def add_parser(subparsers, _parent_parser):
default=False,
help="Show status of all stages in the specified directory.",
)
status_parser.add_argument(
"--show-json",
action="store_true",
default=False,
help="Show status in JSON format.",
)
status_parser.set_defaults(func=CmdDataStatus)