Coder Social home page Coder Social logo

go-todo's Introduction

go-todo

Build Status GoDoc

go-todo provides a more advanced drop in replacement for the bash version of Todo.txt CLI and is meant to handle the following features:

  • parsing and manipulating of task lists;
  • stores tasks hierarchically, with each task given one of five priority levels;

Purpose

This package is meant to be a Golang implementation of Gina Trapani's todo.txt-cli which doesn't rely on other external dependencies (such as bash, cat, grep, awk, sort and sed) and can integrate into 3rd party systems and APIs.

Requirements

This command-line tool requires Go 1.2 ( or higher) and you also need to have git installed to build this utility.

Once you have Go installed and your GOPATH set, do the following to build go-todo:

git clone https://github.com/toffanin/go-todo.git
go install todo.go

If you just want to run the code without building it, you can call:

go run todo.go

TODO

  • full compatibility with the Todo.txt CLI sintax
    • add|a
    • addm
    • addto
    • append|app
    • archive
    • command
    • deduplicate
    • del|rm
    • depri|dp
    • do
    • help
    • list|ls
      • TERMS
      • logical operators
      • TODOTXT_VERBOSE
    • listall|lsa
    • listaddons
    • listcon|lsc
    • listfile|lf
    • listpri|lsp
    • listproj|lsprj
    • move|mv
    • prepend|prep
    • pri|p
    • replace
    • resort
    • shorthelp
    • -@ | -@@
    • -+ | -++
    • -c
    • -d | TODOTXT_CFG_FILE
    • -f | TODOTXT_FORCE
    • -h
    • -p | -P | TODOTXT_PLAIN
    • -a | -A | TODOTXT_AUTO_ARCHIVE
    • -n | -N | TODOTXT_PRESERVE_LINE_NUMBERS
    • -t | -T | TODOTXT_DATE_ON_ADD
    • -v | -vv | TODOTXT_VERBOSE
    • -V
    • -x | TODOTXT_DISABLE_FILTER
  • extra commands not part of the original CLI sintax
    • env - prints go-todo environment information
    • init - create a configuration file with default values
    • status - can be used to obtain a status summary
  • full compatibility with the Todo.txt Format
    • filters (completed tasks are hidden by default, but may be displayed with -A)
  • full compatibility with the Todo.txt Add-ons
  • stores tasks hierarchically;
  • integrate with third party systems
  • integrate with third party APIs
  • readline-based editing of task text and priority
  • linked files
  • todo.cfg configuration file
  • colour customisation
  • custom task formatting

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.