Chainy action that sets the chain data as the output of an executed script
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
test
.editorconfig
.gitignore
.jshintrc
.npmignore
.travis.yml
CONTRIBUTING.md
Cakefile
HISTORY.md
LICENSE.md
README.md
coffeelint.json
package.json

README.md

Exec action for ChainyJS

Build Status NPM version Dependency Status Development Dependency Status
Gittip donate button Flattr donate button PayPayl donate button BitCoin donate button Wishlist browse button

Chainy action that sets the chain data as the output of an executed script

Optionally accepts a single object argument containg options to be forwarded onto safeps's spawn command, then again onto node's spawn command

// No options
require('chainy').create().require('set exec log')
	.set('echo -n hello world')
	.exec()
	.log()  // "hello world"

// Passing cwd as an option to change the directory in which the command is executed
require('chainy').create().require('set exec log')
	.set('cat package.json')
	.exec({cwd: __dirname})
	.log()  // the contents of the `package.json` file which this script was executed in

Install

NPM

  • Use: require('chainy-plugin-exec')
  • Install: npm install --save chainy-plugin-exec

Browserify

  • Use: require('chainy-plugin-exec')
  • Install: npm install --save chainy-plugin-exec
  • CDN URL: //wzrd.in/bundle/chainy-plugin-exec@1.0.0

Ender

  • Use: require('chainy-plugin-exec')
  • Install: ender add chainy-plugin-exec

History

Discover the change history by heading on over to the HISTORY.md file.

Contribute

Discover how you can contribute by heading on over to the CONTRIBUTING.md file.

Backers

Maintainers

These amazing people are maintaining this project:

Sponsors

No sponsors yet! Will you be the first?

Gittip donate button Flattr donate button PayPayl donate button BitCoin donate button Wishlist browse button

Contributors

These amazing people have contributed code to this project:

Become a contributor!

License

Licensed under the incredibly permissive MIT license

Copyright © 2014+ Bevry Pty Ltd us@bevry.me (http://bevry.me)