We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44b938b commit abe5f95Copy full SHA for abe5f95
pyinfra/operations/files.py
@@ -174,6 +174,7 @@ def line(
174
+ flags: list of flags to pass to sed when replacing/deleting
175
+ backup: whether to backup the file (see below)
176
+ interpolate_variables: whether to interpolate variables in ``replace``
177
+ + assume_present: whether to assume a matching line already exists in the file
178
179
Regex line matching:
180
Unless line matches a line (starts with ^, ends $), pyinfra will wrap it such that
0 commit comments