summaryrefslogtreecommitdiffstats
path: root/extras/cliutils/__init__.py
blob: 8765cc850994089d5590da72e4cad1be6a4d9856 (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
# -*- coding: utf-8 -*-
# Reexporting the utility funcs and classes
from .cliutils import (runcli,
                       sync_file_to_peers,
                       execute_in_peers,
                       execute,
                       node_output_ok,
                       node_output_notok,
                       output_error,
                       oknotok,
                       yesno,
                       get_node_uuid,
                       Cmd,
                       GlusterCmdException,
                       set_common_args_func)


# This will be useful when `from cliutils import *`
__all__ = ["runcli",
           "sync_file_to_peers",
           "execute_in_peers",
           "execute",
           "node_output_ok",
           "node_output_notok",
           "output_error",
           "oknotok",
           "yesno",
           "get_node_uuid",
           "Cmd",
           "GlusterCmdException",
           "set_common_args_func"]