christophchamp / mit

Most Important Tasks addon for Gina Trapani's todo.txt-cli.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MIT (Most Important Task)

Overview

Most Important Tasks addon for todo.txt-cli.

MIT adds functionality to Gina Trapani's todo.txt-cli. MITs are intended to be critical tasks that need to be accomplished on a particular day. You can read more about MITs here:

Installation

  1. Install and configure todo.txt-cli.
  2. Ensure TODO_ACTIONS_DIR is defined in todo.cfg or in your profile.
  3. Place mit in your actions directory.
  4. Ensure mit is executable.

Usage

The mit addon can be used to both view and add MITs.

To add mits:

todo.sh mit [DATE|DAY] [task]

A date or day is required along with the task. Dates must be in the format of YYYY.MM.DD. Days can be days of the week (Monday, Tuesday, etc.), or abbreviated days of the week (Mon, Tue, etc.). "Today" or "Tomorrow" are also accepted.

To view mits:

todo.sh mit [not @context|@context]

Specifying a context to filter by is optional but can be helpful if you define MITs for multiple contexts. MITs will be grouped by day with any old incomplete MITs listed under "Past Due:".

To move mits:

todo.sh mit mv [ID] [DATE|DAY]

As with adding mits dates must be in the format of YYYY.MM.DD, day names are accepted, or you can specify "Today" or "Tomorrow". Thanks to rcraggs you can now convert non-mit tasks to mits with the move command as well, the usage is the same.

To convert mits to normal tasks:

todo.sh mit rm [ID]

Another bit of functionality provided by rcraggs that allows you to convert a mit to a normal task.

Format

MITs are stored directly in the todo.txt file with the following format:

{YYYY.MM.DD} task information @context

MITs are displayed as follows:

Past Due:                             # all past due items displayed here
  mow the lawn @home (13)             # task numbers displayed on the end

Today:
  change oil in car (23)
  prepare tps report @work (15)

Wednesday:
  buy groceries @shopping (28)

Monday, December 17:                  # anyting a week out or more gets a date
  call mother (30)

About

Most Important Tasks addon for Gina Trapani's todo.txt-cli.


Languages

Language:Shell 100.0%