Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New CLI commands wipe out my recent shell output #165

Open
angelikatyborska opened this issue Apr 1, 2025 · 0 comments
Open

New CLI commands wipe out my recent shell output #165

angelikatyborska opened this issue Apr 1, 2025 · 0 comments
Labels

Comments

@angelikatyborska
Copy link
Member

This bug is regarding the next branch.

Current behavior

When you run one of the new commands, it wipes out the shell output that is currently visible in the terminal window. It removes not only the Storyblok command that I have just typed, but also output of my previous commands that have nothing to do with the Storyblok CLI.

To present this, I set up this scenario where I typed echo n ten times, from 1 to 10. I resized the window so that the numbers 1 and 2 aren't visible. Then, I run a pull components command. Here are the results:

Terminal window before

Image

Terminal window after

Image

(PS: I can also share a video privately because it includes my space id and I don't know how to censor a video)

Expected behavior

I would expect that my shell output is not deleted. I also expect to see the Storyblok command that I ran in the output.

Relevant code

I'm not sure if this is relevant, but this is the way I run the CLI right now from the next branch:

./node_modules/storyblok-next/dist/index.mjs components pull --space=111

I created a fork where I committed in the dist directory so that it's possible to install it as a npm dependency straight from the github repo.

@angelikatyborska angelikatyborska added bug Something isn't working next and removed bug Something isn't working labels Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant