Skip to content

text.insert

Insert text before or after anchor patterns in files

Properties

Property Type Required Description
allow_multiple boolean No -
anchor string Yes -
backup boolean No -
content string Yes -
path string Yes -
position string Yes -
regex boolean No -

Platform Support

linux, darwin, windows, freebsd

Events Emitted

  • file.updated