Skip to content

Commit e231346

Browse files
committed
fix: dont spam terminal with url for create flow
1 parent 6306375 commit e231346

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

util.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,9 @@ export async function create(
6363
exchangeToken = res.exchangeToken;
6464
}
6565

66+
console.log(`Visit ${url.href} to create a new application.`);
6667
const spinner = new Spinner({
67-
message: `Visit ${url.href} to create a new application.`,
68+
message: "",
6869
color: "yellow",
6970
});
7071
spinner.start();
@@ -108,6 +109,8 @@ export async function create(
108109
]);
109110

110111
spinner.stop();
112+
Deno.stdout.writeSync(new TextEncoder().encode("\x1b[1A\x1b[2K"));
113+
111114
console.log(
112115
`${green("✔")} App '${app}' created in the '${org}' organization.\n`,
113116
);

0 commit comments

Comments
 (0)