npm

create-rx-bot

2.3.2 • Public • Published

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

  1. Create a new file in src/templates folder and name it as somename.some_ext.tmpl.
  2. 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.

  1. afterEmit hook will be called after the file is emitted.

Dependencies (9)

Dev Dependencies (7)

Package Sidebar

Install

npm i create-rx-bot

Weekly Downloads

812

Version

2.3.2

License

none

Unpacked Size

571 kB

Total Files

27

Last publish

Collaborators

  • sirily11