blob: 509a8e33e1207dfda8ef6245c9165e60ead51360 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at https://mozilla.org/MPL/2.0/.
import click
from qm_try_analysis.analyze import analyze_qm_failures
from qm_try_analysis.fetch import fetch_qm_failures
from qm_try_analysis.report import report_qm_failures
@click.group(context_settings={"show_default": True})
def cli():
pass
cli.add_command(fetch_qm_failures, "fetch")
cli.add_command(analyze_qm_failures, "analyze")
cli.add_command(report_qm_failures, "report")
if __name__ == "__main__":
cli()
|