1.0.0 • Published 9 years ago

hubot-offthegrid v1.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

hubot-offthegrid NPM version

The ultimate Off the Grid Hubot companion.

Usage

hubot offthegrid list - Pulls a list of all Off the Grid locations
hubot offthegrid <location name> - Pulls today's hours and vendors for a given location
hubot offthegrid - Pulls today's hours and vendors for the configured location

hubot offthegrid

Configuration

If you don't want to supply a location to hubot offthegrid every time, you can set up a default location. To do this, you'll need to get the name of the location you want to default to via hubot offthegrid list

hubot offthegrid list

Then supply that location name to hubot offthegrid id.

hubot offthegrid id

Once you have that internal ID, set it to the HUBOT_OFF_THE_GRID_LOCATION_ID environment variable, and the you can use hubot offthegrid without passing in a location.

hubot offthegrid shorthand

Heroku
% heroku config:add HUBOT_OFF_THE_GRID_LOCATION_ID="38"
Non-Heroku environment variables
% export HUBOT_OFF_THE_GRID_LOCATION_ID="38"

Installation

  1. Edit package.json and add hubot-offthegrid as a dependency.
  2. Add "hubot-offthegrid" to your external-scripts.json file.
  3. npm install
  4. Reboot Hubot.
  5. Get hungry.
1.0.0

9 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago