class documentation

class ShellWriter(object):

View In Hierarchy

Helper class to write scripts with indentation.

Method __init__ Initializes this class.
Method DecIndent Decrease indentation level by 1.
Method IncIndent Increase indentation level by 1.
Method Write Write line to output file.
Constant INDENT_STR Undocumented
Instance Variable _fh Undocumented
Instance Variable _indent Undocumented
Instance Variable _indent_enabled Undocumented
def __init__(self, fh, indent=True):

Initializes this class.

def DecIndent(self):

Decrease indentation level by 1.

def IncIndent(self):

Increase indentation level by 1.

def Write(self, txt, *args):

Write line to output file.

INDENT_STR: str =

Undocumented

Value
'  '
_fh =

Undocumented

_indent: int =

Undocumented

_indent_enabled =

Undocumented