aboutsummaryrefslogtreecommitdiffstats
path: root/qtip/cli/entry.py
blob: 66e45ddcf3d46c4a4cf207904b5cc5f1d4b71f98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
##############################################################################
# Copyright (c) 2016 ZTE Corp and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

import click
from qtip.cli.commands import cmd_perftest
from qtip.cli.commands import cmd_suite
from qtip.cli.commands import cmd_ansible

CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'])

cli = click.CommandCollection(sources=[cmd_perftest.cli, cmd_suite.cli, cmd_ansible.cli])

if __name__ == '__main__':
    cli()