Skip to content

Commit

Permalink
index doc
Browse files Browse the repository at this point in the history
  • Loading branch information
Unitech committed Jun 26, 2016
1 parent 656232e commit 8d81d3e
Showing 1 changed file with 5 additions and 20 deletions.
25 changes: 5 additions & 20 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,9 @@ var CLI = require('./lib/CLI.js');

process.env.PM2_PROGRAMMATIC = 'true';

// /**
// * Ensure that PM2 has been inited when using it programmatically
// */
// CLI.pm2Init();

/**
* Default singleton for
* module.exports = new CLI;
* module.exports.instance = CLI
*/
module.exports = CLI;

// module.exports = function() {
// process.env.PM2_PROGRAMMATIC = 'true';

// var CLI = require('./lib/CLI.js');

// /**
// * Ensure that PM2 has been inited when using it programmatically
// */
// CLI.pm2Init();

// return CLI;
// };

//module.exports.api = require('./lib/api.js');

0 comments on commit 8d81d3e

Please sign in to comment.