Skip to content

Commit

Permalink
fix CLI messages
Browse files Browse the repository at this point in the history
  • Loading branch information
dogfrogfog committed Nov 7, 2024
1 parent 73cb63a commit ac3070e
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions apps/storyblok/CLI/sb.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ const main = async () => {
// Log in to storyblok CLI

spinner.start("Logging in to storyblok CLI ⏳");
const stdio = "inherit";
const stdio = "ignore";
try {
execSync("pnpm storyblok logout", {
stdio,
Expand Down Expand Up @@ -146,9 +146,15 @@ const main = async () => {
"green",
),
);
console.log(colorText("Space ID:", "cyan"), colorText(spaceId, "yellow"));
console.log(
colorText("Preview Domain:", "cyan"),
colorText("Storyblok dashboard:", "cyan"),
colorText(
`https://app.storyblok.com/me/spaces/${spaceId}/dashboard`,
"yellow",
),
);
console.log(
colorText("Domain:", "cyan"),
colorText(productionDeploymentUrl, "yellow"),
);
} catch (error) {
Expand Down

0 comments on commit ac3070e

Please sign in to comment.