0.2.5 • Published 12 years ago

hook.io-herd v0.2.5

Weekly downloads
25
License
-
Repository
github
Last release
12 years ago

hook.io Herd

A simple hook.io hook that spawns one child hook for each json config file in a given directory.

  1. Create a bunch of config.json files.
  2. Use the childHooks key to define the configs for hooks that will be spawned as child hooks
  3. Use the configFilePath key in your child hook config to load the config from a separate file
    • NOTE: paths are relative to the json files as you would expect

Example Config

{
  "type":"herd",
  "name":"Simpsons",
  "childHooks":[
    {"type":"helloworld", "name":"Homer"},
    {"type":"helloworld", "name":"Marge"},
    {"configFilePath":"./simpson-kids/bart.config.json"},
    {"configFilePath":"./simpson-kids/lisa.config.json"},
    {"configFilePath":"./simpson-kids/maggie.config.json"}
  ]
}
0.2.5

12 years ago

0.2.4

12 years ago

0.2.3

12 years ago

0.2.2

12 years ago

0.2.1

12 years ago

0.2.0

12 years ago

0.1.3

12 years ago

0.1.2

12 years ago