diff options
Diffstat (limited to 'extras/cliutils/__init__.py')
| -rw-r--r-- | extras/cliutils/__init__.py | 29 | 
1 files changed, 29 insertions, 0 deletions
diff --git a/extras/cliutils/__init__.py b/extras/cliutils/__init__.py new file mode 100644 index 00000000000..4bb8395bb46 --- /dev/null +++ b/extras/cliutils/__init__.py @@ -0,0 +1,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"]  | 
