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

Make debug_mode an Enum #4

Open
RevolvingMadness opened this issue Nov 9, 2024 · 1 comment
Open

Make debug_mode an Enum #4

RevolvingMadness opened this issue Nov 9, 2024 · 1 comment

Comments

@RevolvingMadness
Copy link

In main.rs the build function takes a debug mode. I feel using an enum would be better here because then you only have limited options instead of anything with a string.

@GearsDatapacks
Copy link
Member

We're reading it from argv, so it can be any string. We could convert it to an enum somewhere, but I'm not sure it would provide that much value

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

No branches or pull requests

2 participants