From 4f08f41dcc51a4360dc3e0d9a5d37eb3b4377783 Mon Sep 17 00:00:00 2001 From: Guillermo Rauch Date: Wed, 2 Mar 2016 08:29:49 -0800 Subject: [PATCH] now: colors, colors everywhere --- bin/now | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/now b/bin/now index 21673cb..62f6acb 100755 --- a/bin/now +++ b/bin/now @@ -5,6 +5,7 @@ import copy from '../lib/copy'; import { resolve } from 'path'; import login from '../lib/login'; import bytes from 'bytes'; +import chalk from 'chalk'; import Now from '../lib'; import fs from 'fs'; import ms from 'ms'; @@ -77,9 +78,9 @@ async function sync (token) { if (clipboard) { try { await copy(url); - console.log(`> ${url} (copied to clipboard) [${elapsed}]`); + console.log(`> ${chalk.cyan('Ready!')} ${chalk.bold(`https://${url}`)} (copied to clipboard) [${elapsed}]`); } catch (err) { - console.log(`> ${url} [${elapsed}]`); + console.log(`> ${chalk.cyan('Ready!')} ${chalk.bold(`https://${url}`)} [${elapsed}]`); } } else { console.log(`> ${url} [${elapsed}]`);