Skip to content

cthulhuology/opifex.runner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

opifex

Opifex is a coffeescript module for doing useful work.

Usage

First write a script like:

Opifex = require 'Opifex'
Opifex('amqp://user:password@host:port/domain/exchange/queue/key')
	.facit = (command) ->
		console.log "Got command #{command}"

And then on the given host send to the appropriate vhost on the given exchange a message:

[ "facit", "some command" ]

And it will log "Got command some command" to the console!

About

A shell command runner via AMQP

Resources

License

Stars

Watchers

Forks

Packages

No packages published