0.0.4 • Published 9 years ago

acquia-cloud-client v0.0.4

Weekly downloads
6
License
ISC
Repository
github
Last release
9 years ago

Summary

usage JS

api.envs(process.env.ACQUIA_SITE, function(err,envs){
  if(err){
    console.log("error looking up envs")
    return
  }
  for(var i = 0; i < envs.length; ++i){
    console.log("env: " + envs[i].name + ", version: " + envs[i].vcs_path);
  }
});

usage coffee e.g. hubot

api.envs process.env.ACQUIA_SITE, (err,envs)->
  if err
    res.reply("error looking up envs")
    return
  res.reply "env: " + site.name + ", version: " + site.vcs_path for site in envs

Installation

npm install --save acquia-cloud-client
0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago