Skip to content

NhanchoToys/nonestrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nonestrap

中文文档在这里~

Another NoneBot2 project bootstrap tool.

Installation

Install nonestrap via this command:

pip install nonestrap

Usage

# install bootstrap file into ./mybot/ with onebot-v11 adapter and without any
# extra plugin, under a virtual environment.
nonestrap -a onebot-v11 mybot

# install bootstrap file into ./mybot/ with both onebot-v11 and ding adapter
# and APScheduler, under a virtual environment
nonestrap -a onebot-v11 -a ding mybot nonebot-plugin-apscheduler

# like the first one but with production .env file.
nonestrap -a onebot-v11 -e prod mybot

# like the first one but without creating a new virtual environment.
# use it if you have already prepared a virtual environment.
nonestrap -a onebot-v11 -V mybot

# like the first one but keeps bot.py instead of bot.pyc
nonestrap -a onebot-v11 -C mybot

About

Another NoneBot2 project bootstrap tool.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages