Nonebot Cli plugin for LittlePaimon
Project description
演示
安装
安装nb-cli
请确保你的Python版本为3.8+,且在环境变量中
通过 pipx 安装
pip install --user pipx
pipx ensurepath
pipx install nb-cli
通过 pip 安装
pip install nb-cli
安装本插件
通过 nb-cli 安装
nb self install nb-cli-plugin-littlepaimon
通过 pipx 安装
pipx inject nb-cli nb-cli-plugin-littlepaimon
通过 pip 安装
pip install nb-cli-plugin-littlepaimon
安装Git
能上Github的话,应该都会装Git吧)
使用
nb paimon
交互式使用nb paimon create
- 交互式指引安装LittlePaimon
- 自动克隆源码、创建虚拟环境、安装依赖,下载并配置go-cqhttp
- 添加
-g
参数,则是只下载go-cqhttp
nb paimon run
运行python命令或启动小派蒙- 当接有命令时,使用该目录的下python解释器运行命令,例如
nb paimon run playwright install
- 当没有命令时,使用该目录的下python解释器启动小派蒙,实际上等价于
nb run
,不过去掉了不常用的参数
- 当接有命令时,使用该目录的下python解释器运行命令,例如
nb paimon install
安装依赖库到小派蒙环境中- 当接有参数时,使用该目录的下pip安装依赖,例如
nb paimon install httpx
- 当没有参数时,则是使用该目录的下pip安装
requirements.txt
中的依赖
- 当接有参数时,使用该目录的下pip安装依赖,例如
nb paimon res
下载或更新小派蒙的资源nb paimon update
更新小派蒙,和git pull
一样nb paimon logo
展示小派蒙的logo
nb paimon (指令) --help
查看帮助
TODO
- 更新资源
- 不依赖git
- 修改配置
- 安装小派蒙插件
- more
相关项目
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nb_cli_plugin_littlepaimon-1.0.3.tar.gz
.
File metadata
- Download URL: nb_cli_plugin_littlepaimon-1.0.3.tar.gz
- Upload date:
- Size: 26.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5081b8c6ec03bbab3f943e5a656bbe4eabb2622a8e95b6b00281fe0cd0174460 |
|
MD5 | 74d1592ce97884140d0734b308214b4d |
|
BLAKE2b-256 | d39835a69c789d3c57c4dae5ddb3b3018113489b249369d304619fe4bfbf8226 |
File details
Details for the file nb_cli_plugin_littlepaimon-1.0.3-py3-none-any.whl
.
File metadata
- Download URL: nb_cli_plugin_littlepaimon-1.0.3-py3-none-any.whl
- Upload date:
- Size: 31.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f58726308560853fffd4c9e958d8dc6e3113e6cd0f91bc2fc5344670ca2526eb |
|
MD5 | bfde824192975c5e6b96e5a619696f9a |
|
BLAKE2b-256 | 6f81845f7c9476d9de43abc8689248014fdda5db25a87459a0ed80f9f71a3d3d |