项目作者: JonDotsoy

项目描述 :
🍹 A child process async.
高级语言: JavaScript
项目地址: git://github.com/JonDotsoy/bert-cli.git
创建时间: 2017-03-07T01:18:23Z
项目社区:https://github.com/JonDotsoy/bert-cli

开源协议:MIT License

下载


🍹 bert

A child process to work with Docker.

bert.js prepares an environment to load your command. it is useful to a used application without your local installation.

What does Bert?

Bert is a module to NodeJS, this provides an easily API to work with child_process on you local machino or a container inside Docker.

🍹 > bert

goals for bert

Please get a 🍹 drink and write your goal to bert on a new issue.

How to use

  1. # Install bert.js
  2. npm install --global bert.js
  3. # Install in you proyect
  4. npm install --save-dev bert.js
  5. # Run It
  6. bert

A Example

  1. const bert = require('bert.js')
  2. // Prepare the agent to node 7.7.0
  3. const node = bert.agent('node', { image: 'node:7.7.0' })
  4. // Many things
  5. node.sh(['node', '--version']) // v7.7.0