CLI-in-Python/scr/builtins_fix.pyi
santaspeen 931be6aa5e Ready
2022-02-20 22:13:31 +03:00

43 lines
1.1 KiB
Python

class Console(object):
def __init__(self,
prompt_in: str = ">",
prompt_out: str = "]:",
not_found: str = "Command \"%s\" not found in alias.") -> None: ...
def __getitem__(self, item): ...
@property
def alias(self) -> dict: ...
def add(self, key: str, func: function) -> dict: ...
def log(self, s: str, r='\r') -> None: ...
def write(self, s: str, r='\r') -> None: ...
def __lshift__(self, s: AnyStr) -> None: ...
def logger_hook(self) -> None: ...
def builtins_hook(self) -> None: ...
def run(self) -> None: ...
def run_while(self, whl) -> None:...
class console(object):
@staticmethod
def alias() -> dict: ...
@staticmethod
def add(key: str, func: function) -> dict: ...
@staticmethod
def run() -> None: ...
@staticmethod
def run_while(whl: Any) -> None: ...
@staticmethod
def builtins_hook() -> None: ...
@staticmethod
def logger_hook() -> None: ...
@staticmethod
def log(s: str) -> None: ...
@staticmethod
def write(s: str) -> None: ...
@staticmethod
def __lshift__(s: AnyStr) -> None: ...