Skip to main content

Nonebot Cli plugin for zhenxun

Project description

nonebot

NB CLI Plugin For LittlePaimon

✨ 为小派蒙Bot定制的 NoneBot2 CLI 插件 ✨

license pypi python

演示

asciicast

安装

安装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,不过去掉了不常用的参数
    • nb paimon install 安装依赖库到小派蒙环境中
      • 当接有参数时,使用该目录的下pip安装依赖,例如nb paimon install httpx
      • 当没有参数时,则是使用该目录的下pip安装requirements.txt中的依赖
    • nb paimon res 下载或更新小派蒙的资源
    • nb paimon update 更新小派蒙,和git pull一样
    • nb paimon logo 展示小派蒙的logo
  • nb paimon (指令) --help 查看帮助

TODO

  • 更新资源
  • 不依赖git
  • 修改配置
  • 安装小派蒙插件
  • more

相关项目

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nb_cli_plugin_zhenxun-0.1.5.tar.gz (25.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nb_cli_plugin_zhenxun-0.1.5-py3-none-any.whl (30.4 kB view details)

Uploaded Python 3

File details

Details for the file nb_cli_plugin_zhenxun-0.1.5.tar.gz.

File metadata

  • Download URL: nb_cli_plugin_zhenxun-0.1.5.tar.gz
  • Upload date:
  • Size: 25.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10

File hashes

Hashes for nb_cli_plugin_zhenxun-0.1.5.tar.gz
Algorithm Hash digest
SHA256 3d4067299ecc77f7f0dca47e389ee5d1a10835feeb9084ba2fe4779970f70432
MD5 82d7190720ef267e12ccdc5cf7e92765
BLAKE2b-256 788f2d916b9f34c2b2a1c55c057d8dff32b34e2202c38aca63a37e56afb764bd

See more details on using hashes here.

File details

Details for the file nb_cli_plugin_zhenxun-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for nb_cli_plugin_zhenxun-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 cdcc1253db68d6d1b5cd079893d873b6246f7e3fb397eebfcc1dc2d44a9b87e5
MD5 1492c0187b39665da8680fe190cce5d5
BLAKE2b-256 7a8d9e76e12b399f581e0be45b60a075d8408a928afa59774460be6c2f22cf05

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page