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

neo-cli No Screen Rendering on Invalid Arguments. #3135

Closed
cschuchardt88 opened this issue Feb 11, 2024 · 2 comments · Fixed by #3148
Closed

neo-cli No Screen Rendering on Invalid Arguments. #3135

cschuchardt88 opened this issue Feb 11, 2024 · 2 comments · Fixed by #3148

Comments

@cschuchardt88
Copy link
Member

cschuchardt88 commented Feb 11, 2024

Describe the bug
when you type invalid arguments on the commandline for neo-cli.exe. You get an error message; however, the CLI prompt still opens; allowing you to enter commands. When you enter command show state; this ends up not rendering the screen and also clears the screen.

The reason i think it is doing this is because of the command text coloring that, causes the show state method to not render correctly.

To Reproduce
Steps to reproduce the behavior:

  1. Type command neo-cli /noverify in powershell
  2. Type show state in the neo-cli prompt

Expected behavior
If there is invalid arguments passed in. Than there should be no neo-cli command prompt or the arguments should be ignored.

Screenshots
image
image

Platform:

  • Version neo-cli 3.6.3
@cschuchardt88
Copy link
Member Author

@shargon @Jim8y

@shargon
Copy link
Member

shargon commented Feb 13, 2024

I will review it likely the next week (working of bug fixes now).

shargon added a commit that referenced this issue Feb 19, 2024
shargon added a commit that referenced this issue Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants