Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support deleteLine #12

Open
nspragg opened this issue Feb 1, 2019 · 0 comments
Open

Support deleteLine #12

nspragg opened this issue Feb 1, 2019 · 0 comments

Comments

@nspragg
Copy link
Owner

nspragg commented Feb 1, 2019

Support deleteLine(number, string) for removing lines from a file:

const File = require("file-js");

new File("myFile")
  .deleteLine(1, "my line1")
  .deleteLine(10, "my line2")
  .save();
  • Should be chainable
  • .save() to commit changes.
@nspragg nspragg added this to To do in Edit operations via automation Feb 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant