INNER CODE UNIT · JavaScript
handleListDomains
alohe/quicky · index.js:2532
async function handleListDomains(projects, config) {
try {
if (projects.length === 0) {
log(chalk.yellow("No projects found."));
return;
}
const table = new Table({
head: [
chalk.cyan.bold("Project"),
chalk.cyan.bold("Domain"),
chalk.cyan.bold("Port"),
],
style: { head: ["cyan", "bold"], border: ["grey"] },
colWidths: [20, 30, 10],
});
for (const project of projects) {