ILineTerminal

class pyTooling.TerminalUI.ILineTerminal(terminal=None)[source]

A mixin class (interface) to provide class-local terminal writing methods.

property Terminal: Terminal

Return the local terminal instance.

Return type:

Terminal

WriteLine(line, condition=True)[source]

Write an entry to the local terminal.

WriteFatal(*args, condition=True, **kwargs)[source]

Write a fatal message if condition is true.

WriteError(*args, condition=True, **kwargs)[source]

Write an error message if condition is true.

WriteWarning(*args, condition=True, **kwargs)[source]

Write a warning message if condition is true.

WriteInfo(*args, condition=True, **kwargs)[source]

Write a info message if condition is true.

WriteQuiet(*args, condition=True, **kwargs)[source]

Write a message even in quiet mode if condition is true.

WriteNormal(*args, condition=True, **kwargs)[source]

Write a normal message if condition is true.

WriteVerbose(*args, condition=True, **kwargs)[source]

Write a verbose message if condition is true.

WriteDebug(*args, condition=True, **kwargs)[source]

Write a debug message if condition is true.

WriteDryRun(*args, condition=True, **kwargs)[source]

Write a dry-run message if condition is true.