New:Socket for Asana Is Now Available.Learn more
Sign In

cloudelements_cmtool

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cloudelements_cmtool

An integrated client for CE CM apps.

latest
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Cloud Elements CMTool

This is the Cloud Elements CM tool, which is used to connect with and integrate the various CM applications used by Cloud Elements, such as Git and Pivotal Tracker.

Install it globally:

$ npm install -g cloudelements_cmtool

Run it like this

$ cmtool <command> [parameters]

For example,

$ cmtool release-notes 1.10 1.11

You can use it in your code, too.

var cmtool = require('cloudelements_cmtool');
var git = new cmtool.Git;
var pivotal = new cmtool.Pivotal('my-pivotal-token');
var cart = new cmtool.Cart(pivotal, git);

process.chdir('path/to/git/repo');

cart.changeLog('1.10', '1.11', function(err, stories) {
  console.log("err", err);
  console.log("stories", stories);
});

git.longLog('patch-1.10.6', function(err, entry, done){
  if (err != null) {
    console.log("err", err);
  } else if (done) {
    console.log("done");
  } else {
    console.log("found commit with hash", entry.hash);
  }
});

FAQs

Package last updated on 17 Jan 2014

Related posts