heroku-cli-util
Set of helpful CLI utilities
Installation
npm install heroku-cli-util --save
Errors (display in red)
var h = require('heroku-cli-util');
h.error("App not found");
Warnings (display in yellow)
var h = require('heroku-cli-util');
h.warn("App not found");
Tables/Columns
var h = require('heroku-cli-util');
h.columnify({
'Dynos': 1,
'Region': 'us',
'Stack': 'cedar-14'
});
Dates
var h = require('heroku-cli-util');
var d = new Date();
console.log(h.formatDate(d));
Tests
npm install
npm test
License
ISC