console.log(`${chalk.cyan('> Success!')} Deployment ${chalk.bold(`https://${depl.url}`)}${chalk.dim(`(${depl.uid})`)} now points to ${chalk.bold(chalk.underline(`https://${alias}`))}`);
if(created){
console.log(`${chalk.cyan('> Success!')} Alias created ${chalk.dim(`(${uid})`)}: ${chalk.bold(`https://${depl.url}`)}${chalk.dim(`(${depl.uid})`)} now points to ${chalk.bold(chalk.underline(`https://${alias}`))}`);
}else{
console.log(`${chalk.cyan('> Success!')} Alias already exists ${chalk.dim(`(${uid})`)}.`);
}
}
}
createAlias(depl,alias){
createAlias(depl,alias){
@ -156,11 +160,12 @@ export default class Alias extends Now {