github/hubot — Issue #230: Extended configuration for scripts
Author: iangreenleaf
Created: 2012-01-28 05:46:20+00:00
State: open

I've been wishing for a way to provide some more complex configuration options to Hubot scripts. I think the ENV variables are good for access tokens and such, but I've been thinking it would be cool to be able to pass data to a specific script within `hubot-scripts.json`. Something like this...

```javascript
[
"redis-brain.coffee"
, { "script": "bees.coffee", "noisy": true }
, "cowsay.coffee"
, "kittens.coffee"
, {
"script": "meme_generator.coffee"
, "exclude": [ "futurama-fry", "y-u-no" ]
, "noisy": false
}
]
```

Does this sound like something you'd consider including in Hubot?