def init()

in terranova/utils.py [0:0]


    def init(debug: bool, verbose: bool, conf_dir: Path) -> None:
        """Init global shared context."""
        with SharedContext.__LOCK:
            SharedContext.__UNDERLYING[Constants.CTX_CONSOLE] = Console()
            SharedContext.__UNDERLYING[Constants.CTX_ERR_CONSOLE] = Console(stderr=True)
            SharedContext.__UNDERLYING[Constants.CTX_DEBUG] = debug
            SharedContext.__UNDERLYING[Constants.CTX_VERBOSE] = verbose
            SharedContext.__UNDERLYING[Constants.CTX_CONF_DIR] = conf_dir