8000 GitHub - kasodeep/cli-todo
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

kasodeep/cli-todo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CLI Todo Application

  • This is a simple command-line interface (CLI) application for managing a todo list.
  • You can add, complete, delete, and list tasks directly from your terminal.

Demo Image

Features

  • Add: Add a new todo item to your list.
  • Complete: Mark an existing todo item as completed.
  • Delete: Remove a todo item from your list.
  • List: Print out all todo items in a formatted table.

Installation

  1. Clone the repository:

    git clone https://github.com/kasodeep/cli-todo.git
  2. Build the application:

    cd cli-todo
    go build

Storage

  • The files are stored in the .todos.json file.

Usage

# Add a todo
./clitodo -add "Buy groceries"

# Add another todo
./clitodo -add "Write blog post"

# List all todos
./clitodo -list

# Complete the first todo
./clitodo -complete 1

# Delete the second todo
./clitodo -del 2

# List all todos
./clitodo -list

Install (Test)

# To run the todo list app anywhere in the system.
# Make sure to add the .todos.json in the bin folder of Go.
go install

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

0