Browse Source

domains: chalk.dim() for the headers

master
Olli Vanhoja 8 years ago
parent
commit
0355c57e6d
  1. 2
      bin/now-domains

2
bin/now-domains

@ -128,7 +128,7 @@ async function run (token) {
const domains = await domain.ls();
domains.sort((a, b) => new Date(b.created) - new Date(a.created));
const current = new Date();
const header = [['', 'id', 'dns', 'url', 'created']];
const header = [['', 'id', 'dns', 'url', 'created'].map(s => chalk.dim(s))];
const out = table(header.concat(domains.map((domain) => {
const ns = domain.isExternal ? 'external' : 'zeit.world';
const url = chalk.underline(`https://${domain.name}`);

Loading…
Cancel
Save