Giter VIP home page Giter VIP logo

Comments (5)

leifg avatar leifg commented on May 25, 2024

👍 I thought of the exact same thing the first time I tested the tool.

But nevertheless, great work.

from massren.

laurent22 avatar laurent22 commented on May 25, 2024

Yes I think that would be a useful feature and probably not hard to implement. I'm not too keen on deleting files replaced by blank lines as it could lead to accidental deletion. I'd rather make it explicit. For example, any line replaced by a special comment could be deleted.

For example, given these files:

file1
file2
file3

If it's changed to this:

file1
//rm
file3

It means "file2" would be deleted.

One caveat though is that the undo function would not work for deletion (unless a lot of system-specific stuff is added in order to move the files to the trash) so that would probably have to be documented.

from massren.

laurent22 avatar laurent22 commented on May 25, 2024

This is now available in v1.2.0 - if you add "//" before a filename it will be deleted. Please give it a try if you can, and let me know if you notice any problem.

from massren.

laurent22 avatar laurent22 commented on May 25, 2024

Implemented in 1.2.0

from massren.

tborychowski avatar tborychowski commented on May 25, 2024

this should be documented. I've spent a while looking for this.
The main readme mentioning that it is possible, it doesn't say how...

from massren.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.