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

[CLI] Automatically create customization files for detected changes #55

Open
peterjuras opened this issue Oct 1, 2020 · 0 comments
Open

Comments

@peterjuras
Copy link
Member

Summary

coat sync prompts when a file that is managed by coat has been modified and overwrites the current file with the generated contents.

In certain situations, coat could detect what has been modified and offer to automatically create a customization file that achieves the same outcome.

Example:

Given the following generated coat file:

// config.json
{
  "config": "value"
}

And the following modified disk content:

// config.json
{
  "config": "value",
  "custom": "custom-value"
}

coat could offer to create a customization file that will result in the modified file:

// config.json-custom.js
module.exports = {
  custom: "custom-value",
};
@peterjuras peterjuras changed the title [CLI] - Automatically create customization files for detected changes [CLI] Automatically create customization files for detected changes Feb 2, 2021
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

1 participant