~quobyte/charms/trusty/quobyte-webconsole/trunk

« back to all changes in this revision

Viewing changes to hooks/charmhelpers/cli/commands.py

  • Committer: Bruno Ranieri
  • Date: 2016-07-13 14:50:01 UTC
  • Revision ID: bruno@quobyte.com-20160713145001-1h6cddu9sltlvx7w
Initial charm

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright 2014-2015 Canonical Limited.
 
2
#
 
3
# This file is part of charm-helpers.
 
4
#
 
5
# charm-helpers is free software: you can redistribute it and/or modify
 
6
# it under the terms of the GNU Lesser General Public License version 3 as
 
7
# published by the Free Software Foundation.
 
8
#
 
9
# charm-helpers is distributed in the hope that it will be useful,
 
10
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
11
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
12
# GNU Lesser General Public License for more details.
 
13
#
 
14
# You should have received a copy of the GNU Lesser General Public License
 
15
# along with charm-helpers.  If not, see <http://www.gnu.org/licenses/>.
 
16
 
 
17
"""
 
18
This module loads sub-modules into the python runtime so they can be
 
19
discovered via the inspect module. In order to prevent flake8 from (rightfully)
 
20
telling us these are unused modules, throw a ' # noqa' at the end of each import
 
21
so that the warning is suppressed.
 
22
"""
 
23
 
 
24
from . import CommandLine  # noqa
 
25
 
 
26
"""
 
27
Import the sub-modules which have decorated subcommands to register with chlp.
 
28
"""
 
29
from . import host  # noqa
 
30
from . import benchmark  # noqa
 
31
from . import unitdata  # noqa
 
32
from . import hookenv  # noqa