Invalid manim commands should not raise error #2809
niekvandepas
started this conversation in
Suggestions and Proposals
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Apologies if this issue already exists; I could not find it.
Description of proposed feature
Current behavior is such that running an invalid
manim
subcommand, such asmanim help
, raises a Python error (FileNotFoundError: /private/tmp/project/help not found
).A better user experience would be if attempting to run an invalid command would display a user-friendly error along the lines of
invalid command: ${command}
.I'm not too familiar with Python nor this codebase hence the lack of a PR. 😇
Additional comments
It may be interesting to include checking for typos (try running
git iniy
).Beta Was this translation helpful? Give feedback.
All reactions