Skip to content

Releases: jwodder/lineinfile

v0.4.0 — Bytes paths and Click 8

12 May 14:47
v0.4.0
Compare
Choose a tag to compare
  • Paths passed to add_line_to_file() and remove_lines_from_file() can now be bytes or os.PathLike[bytes]
  • Support Click 8

v0.3.0 — Encodings and reusable inserters

27 Dec 19:56
v0.3.0
Compare
Choose a tag to compare
  • Gave the add_line_to_file() and remove_lines_from_file() functions encoding and errors arguments
  • Inserter instances can now be safely reused across multiple calls to add_line_to_string()/add_line_to_file()

v0.2.0 — Unescaping `line`; options for hyphen-initial arguments

21 Dec 15:05
v0.2.0
Compare
Choose a tag to compare
  • The add command now expands backslash escapes in line.
  • Gave add an -L/--line option for specifying the line, especially when it begins with a hyphen.
  • Gave remove an -e/--regexp option for specifying the regexp, especially when it begins with a hyphen.

v0.1.0 — Initial release

17 Dec 00:51
v0.1.0
Compare
Choose a tag to compare