Skip to content

Replacing elements #38

@cophilot

Description

@cophilot

Similar to the "snippet" functionality also allow the specify a replace tag in the .templify.yaml file, which is then replaced BEFORE OR AFTER running the generate command.

replace:
    - id: new-replace
      folder: . # will saerch for the tag in all files (recursive) in that folder
      content: ... # content like for snippets
      before-generate: true # if runn before or after the generate command executed

Metadata

Metadata

Assignees

Labels

HIGHHigh prio issueenhancementNew feature or request

Projects

Status

Todo

Relationships

None yet

Development

No branches or pull requests

Issue actions