Git Product home page Git Product logo

Comments (7)

taskwarrior avatar taskwarrior commented on May 29, 2024

Migrated metadata:

Created: 2012-05-08T00:27:13Z
Modified: 2014-02-09T02:43:23Z

from taskwarrior.

taskwarrior avatar taskwarrior commented on May 29, 2024

Paul Beckingham on 2012-05-08T03:25:34Z says:

I like it. Thanks for the reminder.

from taskwarrior.

taskwarrior avatar taskwarrior commented on May 29, 2024

Scott Kostyshak on 2012-08-05T22:07:12Z says:

This request is implemented in the attached external script, (at)taskchain@.
Make the script executable with:

chmod +x taskchain

You can then do:

./taskchain 100 101 102 103 104

If this request were implemented internally, would filters be allowed? How would

task  chain

be treated? I guess it could order the tasks by ID or creation date.

Note that in addition to the thread referenced in the original post, there was another thread with a similar feature request:
http://taskwarrior.org/boards/6/topics/1569
An extrenal script could implement that request as well but would also need a way of getting the task number of the commands created. You would only need to get the task ID of the first add.
This could be a job for sed. The following will return the task ID of the add:

task add first_description | sed -r 's/[^0-9]*([0-9]+)\./\1/'

from taskwarrior.

taskwarrior avatar taskwarrior commented on May 29, 2024

Scott Kostyshak on 2012-08-05T22:07:12Z says:

Attachment taskchain has been added with description: external bash script implementation

from taskwarrior.

taskwarrior avatar taskwarrior commented on May 29, 2024

Scott Kostyshak on 2012-08-16T02:46:43Z says:

posted here:
http://taskwarrior.org/projects/taskwarrior/wiki/ExternalScripts

from taskwarrior.

pbeckingham avatar pbeckingham commented on May 29, 2024

EX-44_taskchain.txt

from taskwarrior.

sclee15 avatar sclee15 commented on May 29, 2024
#!/bin/bash
echo "$# arguments"
argv=("$@")

for (( i=$#-1; i > 0; i-- ))
do
  echo task ${argv[i]} modify depends:${argv[i-1]}
  task ${argv[i]} modify depends:${argv[i-1]}
done

from taskwarrior.

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.