Socket
Book a DemoInstallSign in
Socket

lita-substitution

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lita-substitution

bundlerRubygems
Version
0.1.1
Version published
Maintainers
1
Created
Source

Lita::Handlers::Substitution

Gem Version Build Status Coverage Status

Shell-like command substitution for the Lita chat bot.

Allows you to use the output of commands as arguments to another command. Hypothetical example:

You: lita hello
Lita: Hello, World!
You: lita upcase qwerty
Lita: QWERTY
You: lita upcase $(hello)
Lita: HELLO, WORLD!

You can get the most power by using it with lita-key-value:

You: lita kv set text $(get some text)
Lita: Set text to Here is some text.
You: lita upcase $(kv get text)
Lita: HERE IS SOME TEXT.

Usage

At first, see the documentation for Lita: http://docs.lita.io/

Installation

Add lita-substitution to your Lita instance's Gemfile:

gem 'lita-substitution', '~> 0.1.1'

FAQs

Package last updated on 25 Oct 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts