Skip to content

todotxt/plugin-view

This branch is 6 commits ahead of markwu/todo-cli-plugins:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

2dde461 · Aug 14, 2017

History

24 Commits
Aug 14, 2017
Oct 17, 2010
Aug 14, 2017

Repository files navigation

view addon for todotxt-cli

Show todo items containing TERM, grouped by [OPTION], and displayed in priority order. If no TERM provided, displays entire todo.txt.

Quick Install

git submodule add https://github.com/todotxt/plugin-view.git $TODOTXT_DIR/actions/view

Usage

$ todo.sh view help

  Usage
    $ todo.sh view [OPTION] [TERM]

  Options
    project           Show todo items group by project
    context           Show todo items group by context
    date              Show todo items group by date
    nodate            Show todo items group by date without date
    past              Show todo items group by date from today to past
    future            Show todo items group by date from today to future
    today             Show todo items group by date only today
    yesterday         Show todo items group by date from today to yesterday
    tomorrow          Show todo items group by date from today to tomorrow
    ?length           Show todo items group by date from today to ?length
                      ? could be signed(+-) or unsigned numbers.
                      Length could be (days|weeks|months|years)

  Examples
    $ todo.sh view project              # Show todo items grouped by project
    $ todo.sh view project @context     # Show todo items grouped by project and filtered by @context
    $ todo.sh view context              # Show todo items grouped by context
    $ todo.sh view date +project        # Show todo items grouped by date and filtered by +project
    $ todo.sh view -3days               # Show todo items grouped by date from today to 3days before today
    $ todo.sh view 4weeks               # Show todo items grouped by date from today to 4weeks after today

Known Issues

  • On OSX/macOS, the date command does not match the Linux date command. To fix this, install coreutils view brew
brew install coreutils

Team

License

GPL3

About

Plugins for Todo.txt CLI

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Shell 100.0%