Giter VIP home page Giter VIP logo

devtodo2's Introduction

DevTodo2

DevTodo2 is a command-line task management utility. Tasks are hierarchically organised, have priorities, and track creation and completion time.

Task lists are stored in the current directory as the file .todo2.

For much more complete information please refer to the man page (todo2(1)).

Installing

DevTodo2 is written in Go. To install, you will need Go 1 or a release candidate.

Once you have Go installed and your GOPATH set, do the following:

$ go get github.com/droundy/goopt
$ git clone git://github.com/alecthomas/devtodo2.git
$ cd devtodo2
$ make install

This will install to /usr/local by default, but that can be overridden by passing prefix=<dir> to make. The installation directories can be further customized by setting bindir=<dir>, mandir=<dir> and man1dir=<dir> which default to $(prefix)/bin, $(prefix)/share/man and $(mandir)/man1, respectively.

NOTE: You can also install with:

$ go get github.com/alecthomas/devtodo2

But the binary will be named devtodo2 and the man page will not be installed.

Examples

Task Command
Add a new task

todo2 -a Shopping list

Add a new sub-task below task 1

todo2 -ag 1 Buy soap

List outstanding tasks

todo2

List all tasks

todo2 -A

DevTodo1?

Yes, this is version 2. Version 1 was written in C++ in 2004, and has been due for a rewrite for a very long time.

Differences between version 1 and 2

New features:

  • Task lists are now stored as JSON.
  • Everything is a lot faster.
  • Much less code.

Not currently supported:

  • Readline-based editing of task text and priority.
  • Filters. Completed tasks are hidden by default, but may be displayed with -A.
  • Linked files.
  • ~/.todorc configuration file.
  • Colour customisation.
  • Custom task formatting.

How do I import my version 1 task lists?

DevTodo2 will load your old .todo files automatically. If you modify the task list with DevTodo2 it will transparently migrate the file to .todo2 in the new format.

You can specify the version 1 filename to load with --legacy-file=<filename>, and the version 2 filename with --file=<filename>.

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.