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

Implement mechanism to replace a block instead of rewriting the file #16

Open
pinpox opened this issue Dec 8, 2018 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@pinpox
Copy link
Owner

pinpox commented Dec 8, 2018

Some of the base16-supported applications have no mechanism to source other configuration files from the main config, e.g. applications that are configured via YAML.
For the apps that don't allow for a source or include statement in their configuration it would be nice to be able to place a specially marked block in their config that is replaced with the newly generated content instead of rewriting the whole file

e.g. for a YAML file:

value1: foo
value2: bar

# BEGIN BASE16 MANAGED BLOCK
color1: 333333
color2: 444444
# END BASE16 MANAGED BLOCK

value3: baz

The mechanism should then just substitute the marked block

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