Module cdev.default.output_manager

Expand source code
from rich import print
from typing import List

from core.constructs.output_manager import OutputManager

from ..constructs.project import Project


class CdevOutputManager(OutputManager):
    def print_header(self) -> None:
        myproject = Project.instance()

        print("")
        print(f"Project: {myproject.get_name()}")
        print("")

    def print_components_to_diff_against(self, old_component_names: List[str]) -> None:
        pass

Classes

class CdevOutputManager (console: core.constructs.output_manager.CdevCoreConsole = None, progress: rich.progress.Progress = None)

Initialize the Output Manager

Args

console : Console, optional
Defaults to None.
progress : Progress, optional
Defaults to None.
Expand source code
class CdevOutputManager(OutputManager):
    def print_header(self) -> None:
        myproject = Project.instance()

        print("")
        print(f"Project: {myproject.get_name()}")
        print("")

    def print_components_to_diff_against(self, old_component_names: List[str]) -> None:
        pass

Ancestors

  • core.constructs.output_manager.OutputManager

Methods

def print_components_to_diff_against(self, old_component_names: List[str]) ‑> None

Print the component names we are diffing against

Args

old_component_names (List[str])

Expand source code
def print_components_to_diff_against(self, old_component_names: List[str]) -> None:
    pass
def print_header(self) ‑> None

Print the header of the output

Args

resource_state_uuid (str)

Expand source code
def print_header(self) -> None:
    myproject = Project.instance()

    print("")
    print(f"Project: {myproject.get_name()}")
    print("")