Ruboty::HelpQuery
A Ruboty Handler + Actions to show all help commands that match <query>.
⚠️ Duplicated. Because ruboty-help supported filter from 2015/03.
Ruboty is Chat bot framework. Ruby + Bot = Ruboty
Installation
Add this line to your application's Gemfile:
gem 'ruboty-help_query'And then execute:
$ bundle
Or install it yourself as:
$ gem install ruboty-help_query
Commands
| Command | Pattern | Description |
|---|---|---|
| help | /help *(?<query>.+)\z/ | Show all help commands that match <query>. |
Usage
help
- Show all help commands that match <query>.
>ruboty help ping
>ruboty /ping\\z/i - Return PONG to PING
>
>ruboty help .*p.*
>ruboty /help( me)?\\z/i - Show this help message
>ruboty /ping\\z/i - Return PONG to PING
ENV
| Name | Description |
|---|---|
| -- | -- |
Dependency
| Name | Description |
|---|---|
| -- | -- |
Contributing
- Fork it ( https://github.com/tbpgr/ruboty-help_query/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request