Skip to content

mehulgohil/gotodo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gotodo

A todo task implemented in Golang using Cobra and Viper Library.

go-slide

Requirement

Add a task: Users should be able to add a new task to their to-do list along with a due date. List tasks: Users should be able to view a list of all the tasks in their to-do list, including the task description and due date. Complete a task: Users should be able to mark a task as completed. Remove a task: Users should be able to remove a task from their to-do list. Search tasks: Users should be able to search for tasks by keywords or due date.

Usage

Install will install the cli binary The cli will save the todo task in the storage.json file that will be created when you add the task for the first time.

go install github.com/mehulgohil/gotodo
gotodo --help

Cobra Commands

https://github.com/spf13/cobra-cli/blob/main/README.md https://github.com/spf13/cobra/blob/main/user_guide.md

cobra-cli init
cobra-cli add list
cobra-cli add completed -p searchCmd

Test Commands for local testing

 go run . add -n test -d 15/06/23

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages