https://github.com/rizerphe/basic-todo
A really basic todo list cli application
https://github.com/rizerphe/basic-todo
Last synced: 8 months ago
JSON representation
A really basic todo list cli application
- Host: GitHub
- URL: https://github.com/rizerphe/basic-todo
- Owner: rizerphe
- Created: 2021-01-18T12:59:23.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2021-01-18T15:12:22.000Z (over 5 years ago)
- Last Synced: 2025-03-05T12:34:10.253Z (over 1 year ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# basic-todo
A really basic todo list cli application
I was having a chat with someone on discord, and this is an example program that sprung up from it. It's not actually intended to be used.
# Usage:
Get your to do list:
```bash
python basicToDo.py list
```
The output is in format:
```
0: Task 1: go shopping
1: Sitting: be sitting
```
The first column is just an id, the second is your task name and the third one is the description.
You can always specify a different file to use:
```bash
python basicToDo.py --file my_todo.json list
```
This works with every command, just make sure the command goes after `--file`.
To add an item:
```bash
python basicToDo.py add "go shopping tomorrow morning"
```
If you want to name it something other than "Task N":
```bash
python basicToDo.py add "go shopping tomorrow morning" --name Shopping
```
To remove an item:
```bash
python basicToDo.py remove "Shopping"
```
You can also remove an item by id:
```bash
python basicToDo.py remove 0
```
To modify an item:
```bash
python basicToDo.py set 0 "My new description"
```
or:
```bash
python basicToDo.py set --name "Sitting" 0 "Actually don't go shopping, covid exists"
```
To clear the whole list:
```bash
python basicToDo.py clear
```