├── .github ├── FUNDING.yml └── workflows │ └── pypi-publish.yml ├── .gitignore ├── LICENSE ├── README.md ├── nb_cli_plugin_bootstrap ├── __init__.py ├── const.py ├── handlers │ ├── __init__.py │ ├── bootstrap.py │ ├── pip_index.py │ ├── shell.py │ ├── update_project.py │ └── venv.py ├── plugin.py ├── templates │ └── bootstrap │ │ ├── cookiecutter.json │ │ ├── hooks │ │ ├── post_gen_project.py │ │ └── pre_gen_project.py │ │ └── {{cookiecutter.nonebot.folder_name}} │ │ ├── #启动.bat │ │ ├── #更新所有插件.bat │ │ ├── #进入虚拟环境.bat │ │ ├── .env.prod │ │ ├── bot.py │ │ ├── pyproject.toml │ │ └── src │ │ └── plugins │ │ └── ping.py └── utils.py └── pyproject.toml /.github/FUNDING.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/.github/FUNDING.yml -------------------------------------------------------------------------------- /.github/workflows/pypi-publish.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/.github/workflows/pypi-publish.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/README.md -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/__init__.py: -------------------------------------------------------------------------------- 1 | __version__ = "0.5.2" 2 | -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/const.py: -------------------------------------------------------------------------------- 1 | INPUT_QUESTION = "请输入 > " 2 | -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/handlers/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/handlers/bootstrap.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/handlers/bootstrap.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/handlers/pip_index.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/handlers/pip_index.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/handlers/shell.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/handlers/shell.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/handlers/update_project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/handlers/update_project.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/handlers/venv.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/handlers/venv.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/plugin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/plugin.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/cookiecutter.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/templates/bootstrap/cookiecutter.json -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/hooks/post_gen_project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/templates/bootstrap/hooks/post_gen_project.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/hooks/pre_gen_project.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/templates/bootstrap/hooks/pre_gen_project.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/#启动.bat: -------------------------------------------------------------------------------- 1 | {{ cookiecutter.nonebot.nb_command }} run 2 | pause 3 | -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/#更新所有插件.bat: -------------------------------------------------------------------------------- 1 | {{ cookiecutter.nonebot.nb_command }} update-project 2 | pause 3 | -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/#进入虚拟环境.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/#进入虚拟环境.bat -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/.env.prod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/.env.prod -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/bot.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/bot.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/pyproject.toml -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/src/plugins/ping.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/templates/bootstrap/{{cookiecutter.nonebot.folder_name}}/src/plugins/ping.py -------------------------------------------------------------------------------- /nb_cli_plugin_bootstrap/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/nb_cli_plugin_bootstrap/utils.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lgc-NB2Dev/nb-cli-plugin-bootstrap/HEAD/pyproject.toml --------------------------------------------------------------------------------