Skip to content

amirhasanzadehpy/todo-app-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO App CLI (Golang)

Screenshot This is a command-line interface (CLI) application built with Go (Golang) that allows you to manage your TODO list. You can add, view, update, and delete tasks from the command line.

Table of Contents

Installation

To use this TODO App CLI, make sure you have Go installed on your machine. Then, follow these steps:

  1. Clone the repository:
git clone https://github.com/amirhasanzadehpy/todo-app-cli.git
  1. Navigate to the project directory:
cd todo-app-cli
  1. Build the application:
go build ./cmd/todo/
  1. Run the application:
./todo

OR

Move the generated binary to a directory in your system's PATH to make it globally accessible:

sudo mv todo /usr/local/bin

Note: You might need to use sudo to move the binary to a system-wide directory.

Verify the installation by running:

todo -v

Usage

Once you have installed and run the application, you can start managing your TODO list using various commands.

To view all available commands and their usage, run:

todo -help

To add a new task:

todo -add Buy groceries

To list all tasks:

todo -list

To mark a task as completed:

todo -complete=1

To delete a task:

todo -delete=2

Commands

The following are the available commands provided by the TODO App CLI:

  • add - Add a new task to the TODO list.
  • list - View all tasks in the TODO list.
  • complete - Complete a task from the TODO list.
  • delete - Delete a task from the TODO list.
  • help - Display help information about the CLI and its commands.

Contributing

Contributions are welcome! If you find any issues with the TODO App CLI or would like to suggest improvements, please open an issue or submit a pull request on the GitHub repository.

About

The Todo App CLI is a simple command-line application built in Golang that helps you manage your tasks and todos right from your terminal.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published