This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
src=$PWD | |
dirname=$(dirname $(readlink -f $0)) | |
# need help ? if no args and help flags | |
if [ "$1" == '-h' ] | |
then | |
cat <<EOF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Simple example for basic Hook.emit syntax using group feature | |
*/ | |
var Hook = require('../../../lib/hookio').Hook; | |
var server = new Hook({ | |
name: "server-hook" | |
}); |