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

enforce option stage (Early Development) #703

Open
2 of 4 tasks
wellwelwel opened this issue Aug 20, 2024 · 0 comments
Open
2 of 4 tasks

enforce option stage (Early Development) #703

wellwelwel opened this issue Aug 20, 2024 · 0 comments

Comments

@wellwelwel
Copy link
Owner

wellwelwel commented Aug 20, 2024

Important

To use, always consider what is in the documentation: poku.io/docs/documentation/poku/options/enforce


Current stage

  • Forces an error if any CLI flags are invalid.
    • Currently, depreciated options throw an error (it implies possible breaking changes when an option is deprecated when using enforce).
  • Forces an error if no file is found.
  • Forces an error if the environment has multiple platforms and the --platform option isn't explicit.

Ideas


PRs


Note

I don't intend to add this feature for API usage. Instead, the API should handle options directly (e.g., Boolean(configs?.debug)).

@wellwelwel wellwelwel changed the title enforce option development (Early Development) enforce option stage (Early Development) Aug 20, 2024
@wellwelwel wellwelwel added this to the 3.0.0 milestone Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant