summaryrefslogtreecommitdiffstats
path: root/extras/cliutils/__init__.py
blob: 4bb8395bb461933151cbd26df11531835064c0d1 (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
# -*- 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)


# 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"]