Comparing version 0.2.7 to 0.2.8
14
app.js
@@ -25,3 +25,5 @@ /** | ||
// Set up the commander instance and add the required options | ||
cli.option('-t, --theme [name]', 'set the vtop theme [parallax|brew|wizard|dark|becca]', 'parallax') | ||
cli | ||
.option('-t, --theme [name]', 'set the vtop theme [parallax|brew|wizard|dark]', 'parallax') | ||
.option('--quit-after [seconds]', 'Quits vtop after interval', '0') | ||
.version(VERSION) | ||
@@ -289,2 +291,12 @@ .parse(process.argv); | ||
/** | ||
* Quits running vtop after so many seconds | ||
* This is mainly for perf testing. | ||
*/ | ||
if (cli['quitAfter'] !== '0') { | ||
setTimeout(function() { | ||
process.exit(0); | ||
}, parseInt(cli['quitAfter']) * 1000); | ||
} | ||
try { | ||
@@ -291,0 +303,0 @@ loadedTheme = require('./themes/' + theme + '.json'); |
# Changelog | ||
## 0.2.7 | ||
## 0.2.8 | ||
- Improve Makefile | ||
## 0.2.7 - 2014-06-12 | ||
- Add Becca theme. http://www.zeldman.com/2014/06/10/the-color-purple/ | ||
## 0.2.6 | ||
## 0.2.6 - 2014-06-11 | ||
@@ -9,0 +13,0 @@ - Fix major perf problem that some users were having relating to |
{ | ||
"name": "vtop", | ||
"version": "0.2.7", | ||
"version": "0.2.8", | ||
"description": "Wow such top. So stats", | ||
@@ -5,0 +5,0 @@ "homepage": "http://parall.ax/vtop", |
@@ -31,3 +31,3 @@ vtop | ||
It uses Unicode braille characters to draw CPU and Memory charts, helping you visualize spikes. We also group processes with the same name together. | ||
It uses [drawille](https://github.com/madbence/node-drawille) to draw CPU and Memory charts with Unicode braille characters, helping you visualize spikes. We also group processes with the same name together. | ||
@@ -34,0 +34,0 @@ ### I think the CPU % is coming out wrong. |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1935705
772