nb_cli.handlers.meta
def draw_logo()
่ฟๅ
- str
def get_nonebot_config()
่ฟๅ
async def get_default_python()
่ฟๅ
- str
async def get_python_version(python_path=None)
ๅๆฐ
python_path
(str | None)
่ฟๅ
- dict[str, int]
def requires_python(func)
ๅๆฐ
func
(((~ P)) -> Coroutine[Any, Any, (~ R)])
่ฟๅ
- ((~ P)) -> Coroutine[Any, Any, (~ R)]
async def get_nonebot_version(python_path=None)
ๅๆฐ
python_path
(str | None)
่ฟๅ
- str
def requires_nonebot(func)
ๅๆฐ
func
(((~ P)) -> Coroutine[Any, Any, (~ R)])
่ฟๅ
- ((~ P)) -> Coroutine[Any, Any, (~ R)]
async def get_pip_version(python_path=None)
ๅๆฐ
python_path
(str | None)
่ฟๅ
- str
def requires_pip(func)
ๅๆฐ
func
(((~ P)) -> Coroutine[Any, Any, (~ R)])
่ฟๅ
- ((~ P)) -> Coroutine[Any, Any, (~ R)]
async def load_module_data(module_type)
้่ฝฝ
1.
(module_type)
ๅๆฐ
module_type
(Literal['adapter'])
่ฟๅ
- list[Adapter]
2.
(module_type)
ๅๆฐ
module_type
(Literal['plugin'])
่ฟๅ
- list[Plugin]
3.
(module_type)
ๅๆฐ
module_type
(Literal['driver'])
่ฟๅ
- list[Driver]
def format_package_results(hits, name_column_width=None, terminal_width=None)
ๅๆฐ
hits
(list[(~ T)])name_column_width
(int | None)terminal_width
(int | None)
่ฟๅ
- str