An open API service indexing awesome lists of open source software.

https://github.com/bndrmrtn/javatodo

A simple CLI Todo app. My first Java program.
https://github.com/bndrmrtn/javatodo

Last synced: about 2 months ago
JSON representation

A simple CLI Todo app. My first Java program.

Awesome Lists containing this project

README

          

# TodoApp (Java CLI)

A simple command-line Todo application written in Java using:
- Picocli (CLI parsing)
- Gson (JSON storage)
- Local file persistence

---

## 📦 Features

- Add todos
- List todos (active / finished / all)
- Finish todos
- Delete todos (with confirmation)
- Persistent storage in `~/todos.json`
- Tracks:
- start time
- end time
- duration (took)

---

## 🚀 Installation

### Build
```bash
mvn clean package
```

## Run (IDE or CLI)

```bash
mvn exec:java -Dexec.mainClass="vip.mrtn.TodoApp" -Dexec.args="add 'Buy milk'"
```