|
@ -143,7 +143,7 @@ async function run (token) { |
|
|
})), { align: ['l', 'r', 'l', 'l', 'l'], hsep: ' '.repeat(2), stringLength: strlen }); |
|
|
})), { align: ['l', 'r', 'l', 'l', 'l'], hsep: ' '.repeat(2), stringLength: strlen }); |
|
|
|
|
|
|
|
|
const elapsed_ = ms(new Date() - start_); |
|
|
const elapsed_ = ms(new Date() - start_); |
|
|
console.log(`> ${domains.length} domain${domains.length > 1 ? 's' : ''} found ${chalk.gray(`[${elapsed_}]`)}`); |
|
|
console.log(`> ${domains.length} domain${domains.length !== 1 ? 's' : ''} found ${chalk.gray(`[${elapsed_}]`)}`); |
|
|
if (out) console.log('\n' + out + '\n'); |
|
|
if (out) console.log('\n' + out + '\n'); |
|
|
break; |
|
|
break; |
|
|
|
|
|
|
|
@ -232,7 +232,7 @@ async function readConfirmation (domain, _domain, list) { |
|
|
process.stdout.write(' ' + tbl + '\n'); |
|
|
process.stdout.write(' ' + tbl + '\n'); |
|
|
if (_domain.aliases.length) { |
|
|
if (_domain.aliases.length) { |
|
|
process.stdout.write(`> ${chalk.yellow('Warning!')} This domain's ` |
|
|
process.stdout.write(`> ${chalk.yellow('Warning!')} This domain's ` |
|
|
+ `${chalk.bold(_domain.aliases.length + ' alias' + (_domain.aliases.length > 1 ? 'es': ''))} ` |
|
|
+ `${chalk.bold(_domain.aliases.length + ' alias' + (_domain.aliases.length !== 1 ? 'es': ''))} ` |
|
|
+ `will be removed. Run ${chalk.dim('`now alias ls`')} to list.\n`); |
|
|
+ `will be removed. Run ${chalk.dim('`now alias ls`')} to list.\n`); |
|
|
} |
|
|
} |
|
|
process.stdout.write(` ${chalk.bold.red('> Are you sure?')} ${chalk.gray('[yN] ')}`); |
|
|
process.stdout.write(` ${chalk.bold.red('> Are you sure?')} ${chalk.gray('[yN] ')}`); |
|
|