Git Product home page Git Product logo

Comments (7)

bram85 avatar bram85 commented on May 19, 2024

Didn't know that extension by Dave Hein, but I was actually already working on this.
In a local branch that, I didn't push yet, I already have an 'edit' subcommand that implements item 1 in your list.

I had a different implementation of "edit " in mind, being to open a temporary file with that specified todo item. You could be able to specify more numbers, or maybe even a +Project to edit all items in that project. That last item is not implemented yet.

Regarding item 2, I'd say to use a flag (-d) instead a full word. "archive" could also be a regular expression that matches items with the word archive in it.

from topydo.

mruwek avatar mruwek commented on May 19, 2024

I was actually already working on this.

Great :) I'm waiting then for the update.

You could be able to specify more numbers, or maybe even a +Project to edit all items in that project.

That would be very useful. Any ETA on this?

Regarding item 2, I'd say to use a flag (-d) instead a full word.

Agreed.

from topydo.

bram85 avatar bram85 commented on May 19, 2024

You could be able to specify more numbers, or maybe even a +Project to edit all items in that project.

That would be very useful. Any ETA on this?

ETA is difficult to tell. I could deliver functionality 1) very soon to master because that's basically ready. I just waited because I assumed to be the only user :)

At the moment I'm a bit busy with other things, but item 3) is something I miss myself in my day-to-day work so probably I'll scratch that itch somewhere this month or next month.

from topydo.

kidpixo avatar kidpixo commented on May 19, 2024

+1 on this!

from topydo.

mruwek avatar mruwek commented on May 19, 2024

I really believe that code above is not ready for merge, but hey, it works!

Waiting for insights, comments and patches :)

or maybe even a +Project to edit all items in that project

For that to happen we need to implement it in TodoListBase.todo function. pri, postpone, do, del would also benefit from such extension.

from topydo.

bram85 avatar bram85 commented on May 19, 2024

I'll leave this issue open since the archive option is not implemented (use case 2 in your original report). It's up to you what to do: close this issue, now the edit subcommand is merged, or leave it open in case you'd like to implement the archive case.

from topydo.

mruwek avatar mruwek commented on May 19, 2024

Closing as it is fully implemented now and merged in master.

from topydo.

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.