Plugins
December 28, 2023 ยท View on GitHub
List of plugins
The list of plugins:
word-snatchers-cli-fruits-pluginword-snatchers-cli-berries-pluginword-snatchers-cli-nuts-pluginword-snatchers-cli-stationery-and-office-supplies-pluginword-snatchers-cli-is-he-living-or-is-he-dead-by-twain-words-plugin
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 which allows you to build a plugin as easy as ABC - module structure and code will be generated
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.