No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib
locales
spec
.gitignore
.travis.yml
Gemfile
README.md
Rakefile
lita-non-command-only.gemspec

README.md

lita-non-command-only

Gem Version Build Status Coverage Status Code Climate

Adds a "non_command_only" option to routes which causes them to match only when not invoked as a command

Installation

Add lita-non-command-only to your Lita plugin's gemspec:

spec.add_runtime_dependency "lita-non-command-only"

Usage

route /foo/, :bar, non_command_only: true