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

Add an API to reset/unset options and expose it at CLI level #1623

Open
mwestphal opened this issue Sep 15, 2024 · 1 comment
Open

Add an API to reset/unset options and expose it at CLI level #1623

mwestphal opened this issue Sep 15, 2024 · 1 comment
Assignees

Comments

@mwestphal
Copy link
Contributor

Is your feature request related to a problem? Please describe.
With the addition of optional options, some options are now unset by default.
It would be nice to be able to unset an option that have been set.
Not only at libf3d API level but also at CLI level in order to override a config file option with CLI.

Describe the solution you'd like

  • Add options::unset specific to optional options
  • Add options::reset that either unset or reset to default
  • [maybe] add a options::isOptional
  • In F3DStarter::UpdateOptions, detect "default" as a special string and in that case call options::reset instead of setAsString
@Yogesh9000
Copy link
Contributor

Is this issue still open? If yes I would like to work on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To do
Development

No branches or pull requests

2 participants