Giter Club home page Giter Club logo

go_todo_cli_tool's Introduction

Go_Todo_CLI_Tool

To Use this Project

clone this repo and run following command in your terminal which will build the project and create an executable file out of it

go build .

Add Task

following command is used to Add task

todo add -n <NAME_OF_THE_TASK> -p <PRIORITY_OF_THE_TASK> -d <DESCRIPTION>

here -n tag is used to specify name of the task and -p for priority. The lowest priority a task can have is 0 and the highest is 10. For medium priority your can use 5.
NOTE! The -d flag is optional
An example of Add command

todo add -n "First task" -p 10 -d "Just an example"

this will store the json data into the db.json file like you can see in the following image Screenshot (93)

Delete Task

todo del -i 1

-i is used to specify the index

List All Tasks

todo list

Screenshot (95)

Expand a Task

todo exp -i 2

The -i is used to specify index it shows following output
Screenshot (97)

Mark Task as Complete

todo comp -i 1

-i is used to specify the index of the task you want to mark as complete

To Clear all Tasks

todo clear

go_todo_cli_tool's People

Contributors

utkarshm-hub avatar

Stargazers

 avatar

Watchers

 avatar

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.