Command line todo list with git sync
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
cmd
vendor
.dstask-bash-completions.sh
.dstask-zsh-completions.sh
Gopkg.lock
Gopkg.toml
LICENSE
README.md
const.go
display.go
do-release.sh
dstask.png
filesystem.go
help.go
import.go
task.go
taskset.go
util.go

README.md

dstask

A personal task tracker designed to help you focus.

Features:

  • Powerful context system
  • Git powered sync/undo/resolve (passwordstore.org style)
  • Task listing won't break with long task text
  • open command -- open URLs found in specified task in the browser
  • note command -- edit a full markdown note for a task

Non-features:

  • Collaboration. This is a personal task tracker. Use another system for projects that involve multiple people. Note that it can still be beneficial to use dstask to track what you are working on in the context of a multi-person project tracked elsewhere.

Requirements:

  • Git
  • A 256-color capable terminal

Installation

Note: This is beta software. There may be breaking changes before the 1.0 release.

  1. Copy the executable (from the releases page) to somewhere in your path, named dstask and mark it executable. /usr/local/bin/ is suggested.
  2. Enable bash completions
  3. Set up an alias in your bashrc: alias task=dstask, and source the relevant completion script

Moving from Taskwarrior

Before installing dstask, you may want to export your taskwarrior database:

task export > taskwarrior.json

After uninstalling taskwarrior and installing dstask, to import the tasks to dstask:

task import-tw < taskwarrior.json

Commands and syntax are deliberately very similar to taskwarrior. Here are the exceptions:

  • The command is (nearly) always the first argument. Eg, task eat some add bananas won't work, but task add eat some bananas will. If there's an ID, it can proceed the command.
  • Priorities are added by the keywords P0 P1 P2 P3. Lower number is more urgent. Default is P2. For example task add eat some bananas P1
  • Action is always the first argument. Eg, task eat some add bananas won't work, but task add eat some bananas will.
  • Contexts are defined on-the-fly, and are added to all new tasks if set. Use -- to ignore current context in any command.

Major things missing

There are a few things missing at the moment. That said I use dstask day to day and trust it with my work.

  • Recurring tasks
  • Dependencies
  • Subtask implementation (github issue style or otherwise)
  • zsh completions
  • tests/CI
  • deferring.due dates

Usage


Usage: task <cmd> [id...] [task summary/filter]

Where [task summary] is text with tags/project/priority specified. Tags are
specified with + (or - for filtering) eg: +work. The project is specified with
a project:g prefix eg: project:dstask -- no quotes. Priorities run from P3
(low), P2 (default) to P1 (high) and P0 (critical). Cmd and IDs can be swapped.

run "task help <cmd>" for command specific help.

Add -- to ignore the current context.

Available commands:

add             : Add a task
log             : Log a task (already resolved)
start           : Change task status to active
note            : Append to or edit note for a task
stop            : Change task status to pending
resolve         : Resolve a task
context         : Set global context for task list and new tasks
modify          : Set attributes for a task
edit            : Edit task with text editor
undo            : Undo last action with git revert
pull            : Pull then push to git repository, automatic merge commit.
git             : Pass a command to git in the repository. Used for push/pull.
resolved-today  : Show tasks completed since midnight in current context
resolved-week   : Show tasks completed within the last week
show-projects   : List projects with completion status
open            : Open all URLs found in summary/annotations
import-tw       : Import tasks from taskwarrior via stdin
help            : Get help on any command or show this message