aboutsummaryrefslogtreecommitdiff
path: root/lava_dashboard_tool/main.py
blob: 28c3edb31c0253d0fe3a15d6ecf7323e13f1b951 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Copyright (C) 2011  Linaro Limited
#
# Author: Zygmunt Krynicki <zygmunt.krynicki@linaro.org>
# Author: Michael Hudson-Doyle <michael.hudson@linaro.org>
#
# This file is part of lava-dashboard-tool.
#
# lava-dashboard-tool is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License version 3
# as published by the Free Software Foundation
#
# lava-dashboard-tool is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with lava-dashboard-tool.  If not, see <http://www.gnu.org/licenses/>.


from lava_tool.dispatcher import LavaDispatcher, run_with_dispatcher_class


class LaunchControlDispatcher(LavaDispatcher):

    toolname = 'lava_dashboard_tool'
    description = """
    Command line tool for interacting with Launch Control
    """
    epilog = """
    Please report all bugs using the Launchpad bug tracker:
    http://bugs.launchpad.net/lava-dashboard-tool/+filebug
    """


def main():
    run_with_dispatcher_class(LaunchControlDispatcher)