Plugins

December 28, 2023 ยท View on GitHub

List of plugins

The list of plugins:

Creating plugins

In order to create a plugin you have at least two options:

Writing a plugin from scratch

See for example a word-snatchers-cli-fruits-plugin.

Using a yeoman generator

If you don't know what is yeoman you can go to its web site and read about it. A word-snatchers-cli-plugin generator allows you to build a plugin for word-snatchers-cli without writing any line of code!

Basic steps to use this generator are as follows:

First, install Yeoman and generator-word-snatchers-cli-plugin using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-word-snatchers-cli-plugin

Then generate your new plugin for word-snatchers-cli:

yo word-snatchers-cli-plugin

Please see the documentation for more details.

After generating process you can check out that everyting is right, make some additions if needed and your plugin is ready. You can share it with others by publising it to npm.