mirror of
https://github.com/SantaSpeen/CLI-in-Python.git
synced 2025-07-01 15:25:31 +00:00
43 lines
1.1 KiB
Python
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: ...
|