create-rx-bot
This package will help you to create a RxBot
instance.
Installation
pnpm create rx-bot
Usage
Dry Run
DRY_RUN=true pnpm create rx-bot
Create a new bot
pnpm create rx-bot
For more examples and detailed documentation, please visit our GitHub wiki.
Development
Add new template
- Create a new file in
src/templates
folder and name it as somename.some_ext.tmpl
. - Add an entry in
templates.yaml.tmpl
file.
The template will be rendered using nunjucks which similar to
jinja2
in python.
Hooks
Hooks are designed to be used in the templates
to add some dynamic logic.
afterEmit
hook will be called after the file is emitted.