Install dependencies with:
bundle install
Get code smells with:
rubycritic
Run the test suite from ./tests
with:
rake test
- Parameters:
- Required:
title
: the title of the TODOdeadline
: when is the TODO due for
- Optional:
body
: contains more details about the TODO
- Required:
# Example 1
ruby ./bin/todo add --title "A Title" --body "A body" --deadline 24/10/2016
# Example 2
ruby ./bin/todo add --title "Prepare halloween" --deadline 31/10/2016
- Parameters:
- Optional:
sort
: sorts the list by an attribute (title, body, deadline, etc.)overdue
: filters the list in order to show only those TODOs which are overdue
- Optional:
# Example 1
ruby ./bin/todo ls
# Example 2
ruby ./bin/todo ls --sort title --overdue