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 support for persisting the configuration back to file #38

Open
jeevatkm opened this issue Aug 23, 2017 · 3 comments
Open

Add support for persisting the configuration back to file #38

jeevatkm opened this issue Aug 23, 2017 · 3 comments

Comments

@jeevatkm
Copy link
Contributor

@brettlangdon With forge syntax adding support of persisting back to file would be very useful.

Use case: In the application end providing UI or API endpoint to modify configurations and the gets persisted into filesystem.

Looking forward to your response.

@jeevatkm
Copy link
Contributor Author

@brettlangdon Any insights on persisting config back to file would be helpful.

@brettlangdon
Copy link
Owner

@jeevatkm it shouldn't be too hard since the format is pretty basic, should just need to iterate each property and output as the value stored there (= for values and { } for sections).

@jeevatkm
Copy link
Contributor Author

@brettlangdon Thanks for the response.

How should we handle and preserve initial/original format of the config files:

  • Substitutions/References
  • Include file references
  • Comments - I know forge reads and keeps comments - currently unsure to handle

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