Skip to content

Command-line To-Do list app in Ruby using MVC structure

Notifications You must be signed in to change notification settings

dandersen2/to-doodler

Repository files navigation

Welcome to To-Doodler!

To start using To-Doodler, clone this repo to your computer, navigate into the "source" folder and type "ruby runner.rb" in the command line. Follow the directions on the screen to edit the to-do list.

###Viewing and Editing your To Do list:

Type "1" or "list" and hit enter to see al the items on your list: Screenshot 1 When viewing your To Do list, completed tasks appear in GREEN, incomplete(outstanding) tasks appear in PURPLE, and tasks tagged as "important" will always appear in WHITE whether they are completed or not.

Type "2" or "add" followed by your new task and hit enter to add a task to your to-do list: Screenshot 2

Type "6" or "outstanding" and hit enter to see all your incomplete tasks: Screenshot 3

Type "7" or "completed" and hit enter to see all of your completed tasks: Screenshot 4

###Searching for To Do's in your List:

There are 2 types of search that can be used in To-Doodler. For an "inclusive" filter type "10" or "inclusive-filter" followed by several tags separated by spaces and hit enter to see a list of ALL the tasks that are tagged with ANY of those tags. For an "exclusive" filter type "11" or "exclusive-filter" followed by several tags separated by spaces and hit enter to see a list of ONLY the tasks that are tagged with ALL of those tags.

Here is an example of the results of an inclusive-filter search using the tags "testing" and "programming": Screenshot 5 Notice that there are 6 results here.

And here is an example of the results of an exclusive-filter search using the same tags "testing" and "programming": Screenshot 6 Notice that there are only 5 results this time because not all of the tasks from the previous inclusive search included BOTH of the tags in this search.

To exit out of To-Doodler, type "exit" when asked for your input.

For a look at how To-Doodler works under the hood, see the task_list.rb file, which handles the list actions in conjunction with the controller.rb file.

About

Command-line To-Do list app in Ruby using MVC structure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages