diff --git a/History.md b/History.md index 4650747..1a2337c 100644 --- a/History.md +++ b/History.md @@ -1,4 +1,14 @@ +0.10.0 / 2016-04-19 +=================== + + * display default help if wrong command was specified [@nkzawa] + * add the `help` command [@nkzawa] + * add base command [@nkzawa] + * add `now-list` [@nkzawa] + * bin/now -> bin/now-deploy [@nkzawa] + * add `now-rm` (hidden) [@rase-] + 0.9.19 / 2016-04-06 =================== diff --git a/bin/now-list b/bin/now-list index 019f65a..8a6fb42 100755 --- a/bin/now-list +++ b/bin/now-list @@ -75,10 +75,10 @@ async function list (token) { const current = Date.now(); const text = sorted.map(([name, deps]) => { const t = table(deps.map(({ uid, url, created }) => { - const time = ms(current - created, { long: true }) + ' ago'; + const time = chalk.gray(ms(current - created) + ' ago'); return [ uid, time, `https://${url}` ]; - }), { align: ['l', 'r', 'l'] }); - return chalk.bold(name) + '\n\n' + indent(t, 2).split('\n').join('\n\n'); + }), { align: ['l', 'r', 'l'], hsep: ' '.repeat(6) }); + return chalk.bold(name) + '\n\n' + indent(t, 2); }).join('\n\n'); if (text) console.log('\n' + text + '\n'); diff --git a/package.json b/package.json index 8b408b3..bc60cfb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "now", - "version": "0.9.19", + "version": "0.10.0", "description": "", "readme": "", "main": "./build/lib/index",