lita-ironio is an handler for Lita that gives your bot the power to interact with Iron.io's IronWorker and IronMQ.
Installation
Add lita-ironio to your Lita instance's Gemfile:
gem "lita-ironio"Configuration
Required attributes
-
token(String) – Project specific tokenfrom the hud -
project_id(String) – Identifier of the project
Example
Lita.configure do |config|
config.handlers.ironio.token = ENV["IRONIO_TOKEN"]
config.handlers.ironio.project_id = ENV["IRONIO_PROJECT_ID"]
endUsage
Commands are called in the with the iron prefix what can be optionally with the ir abbreviation.
iron tasks
ir schedules
iron tasks <TASKID>Example
iron schedules lists all the configured schdules for the project.