lingc-cli (lc)
lingc-cli is an operations convenience command-line tool for Lingchu Bot.
It is published as an independent PyPI package (command lc) with its own
version line, and is not bundled into the bot runtime. It helps you operate and
maintain a deployed bot from the terminal: check the environment, start it
safely, manage dependencies, run database migrations, and repair issues.
Install
Section titled “Install”Install it as a standalone tool:
uv tool install lingc-cli# orpipx install lingc-cliQuick start
Section titled “Quick start”lc --versionlc doctor # diagnose the environmentlc run # start the bot safelylc db upgrade # apply database migrationsIndependent package
Section titled “Independent package”lingc-cli has its own release cycle and is not distributed with the
nonebot-plugin-lingchu-bot package. See the commands
reference for the full lc command surface.