Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/karapetianash/todo-cli
This CLI is a command-line tool that helps you to stay organized with creating and managing your To-Do lists efficiently.
https://github.com/karapetianash/todo-cli
Last synced: about 1 month ago
JSON representation
This CLI is a command-line tool that helps you to stay organized with creating and managing your To-Do lists efficiently.
- Host: GitHub
- URL: https://github.com/karapetianash/todo-cli
- Owner: karapetianash
- Created: 2024-03-13T08:28:49.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-12T11:08:14.000Z (8 months ago)
- Last Synced: 2024-06-23T09:04:51.215Z (7 months ago)
- Language: Go
- Homepage:
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Introduction
This CLI is a command-line tool that allows you to create and manage your To-Do lists efficiently. This tool provides a simple and intuitive way to keep track of your tasks and stay organized.## Supported methods
- Add:
Creates a new to-do item and appends it to the list.
- Complete:
Marks a to-do item as completed.
- Delete:
Deletes a to-do item from the list.
- Save:
Saves the list of items to a file using the JSON format.
- Get:
Obtains a list of items from a saved JSON file.## Usage
To build the app, run the following command in the root folder:```
> go build .
```
Above command will generate todo-cli file. This name is defined in the `go.mod` file, and it will be the initialized module name.You can set an environment variable `TODO_FILENAME` to name the file where your tasks will be stored.
```
> set TODO_FILENAME=someName
```
After that you can run the file using the cmd and pass the task:```
> .\todo-cli.exe -add New Task
```