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

Config File Generator #4

Open
3 of 4 tasks
William-McGonagle opened this issue Jun 27, 2021 · 1 comment
Open
3 of 4 tasks

Config File Generator #4

William-McGonagle opened this issue Jun 27, 2021 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@William-McGonagle
Copy link
Collaborator

William-McGonagle commented Jun 27, 2021

Idea

I was using Doxygen the other day and couldn't figure it out. Even when using the documentation- nothing made sense. The only thing that worked when setting up the config file was an option that let Doxygen generate the entire file using the default settings. And on top of that, it provided great comments that told the user how to use the parameters.

So, the idea is to make a system that lets Big Tony automatically generate config files with all of the default values inside of them. This should be pretty easy, all it would take is an array of structs and the function that would actually create the plaintext file.

Implementation

As mentioned before, an array of structs to store the default variables as well as a plaintext file generator function should work.

Requirements

  • Default values always match those generated
  • Descriptions are wrapped so that they fit within ~80 character range
  • The file matches the syntax parsed by the Big Tony config file parser
  • Function is run when the user uses the config command
@William-McGonagle William-McGonagle added enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed labels Jun 27, 2021
@William-McGonagle
Copy link
Collaborator Author

Just started working on this... the config file generator is almost done.

I also created a String management system while I was at it.

The config generator is not the best possible solution, but it is still in development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant