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

Need a better script to update optionfiles #9

Open
Patg13 opened this issue Aug 4, 2023 · 0 comments
Open

Need a better script to update optionfiles #9

Patg13 opened this issue Aug 4, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Patg13
Copy link
Collaborator

Patg13 commented Aug 4, 2023

The provided bash script to update an option file works, but it's not very clean, the line number are determined by the default option file and used as a guide to update the target file. This method, sometime, put the new lines in strange places, making the option file harder to read.

The idea here is to design a python script with the capability to rebuild an option file using another one as a template. By using an object, it would be possible to define different sections to the option file in the script and the printing function would show a perfectly aligned output.

@Patg13 Patg13 added the enhancement New feature or request label Aug 4, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant