[Feature Request]: Importer Update to handle improter-generated-from
marker
#62
Labels
enhancement
New feature or request
improter-generated-from
marker
#62
🔮 Relevant Command
importer update
🗂 Language Type
All
🔎 Request Details
With the recent update of #15 ,
improter-generated-from
marker is added when usingimporter generate
with--out
flag.Example:
As shown above, the added marker holds onto which file was used to generate the given file,
importer update
can track back to the original file, and attempt to generate again.This would be useful if
importer generate
is used to manage complex YAML files such as Kubernetes resources, and want to simply ensure all the files are up-to-date by running something likefind . -name '*.md' -exec importer update {} \;
.It may be wiser to add a flag to enable/disable this feature - I'm not sure if it's better to have it turned on or off by default - having this feature is probably useful, but could be confusing if turned on by default.
The text was updated successfully, but these errors were encountered: