Skip to content

TheFisola/ruby-todo-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ruby Todo CLI

A Todo CLI app written in Ruby

Rough Idea

A Todo List CLI app that allows users to view, add or remove a particular task from thier todo list. Also allows users mark a particular task as done for the day. All through the CLI app. All task info is stored on a json file. A key-value db implementation.

User Stories

  1. As a system I want to allow a user create tasks for so as to be able to have a todo list
  2. As a system I want to allow a user mark a task as done
  3. As a system I want to allow a user view, and delete tasks so as to manage their todo list

The Developed Solution

  • To run Locally:

Note: Must have Ruby installed

To get the available commands run:

> ruby main.rb -h

Help command screenshot

To create a task, run:

> ruby main.rb -c "Take my dog on a walk"

Create command screenshot

To start a task, run:

> ruby main.rb -s 1

Start command screenshot

To mark a task as done, run:

> ruby main.rb -d 1

Done command screenshot

To remove a task, run:

> ruby main.rb -r 1

Remove command screenshot

To view all tasks, run:

> ruby main.rb -v

View command screenshot

About

A Todo CLI app written in Ruby

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages