Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sioodmy/todo
Simple todo cli program written in rust
https://github.com/sioodmy/todo
cli linux rust todo
Last synced: 5 days ago
JSON representation
Simple todo cli program written in rust
- Host: GitHub
- URL: https://github.com/sioodmy/todo
- Owner: sioodmy
- License: gpl-3.0
- Created: 2021-09-25T21:55:37.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2024-09-11T12:21:15.000Z (4 months ago)
- Last Synced: 2024-10-11T23:49:28.469Z (3 months ago)
- Topics: cli, linux, rust, todo
- Language: Rust
- Homepage:
- Size: 313 KB
- Stars: 346
- Watchers: 8
- Forks: 27
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# todo
A lightweight and super fast cli todo program written in rust under 200 sloc
![gif](todo.gif)
## installation
[AUR package](https://aur.archlinux.org/packages/todo-bin/): `todo-bin`
### Nix Flake
Add `todo.url = "github:sioodmy/todo";` to your inputs. And `inputs.todo.packages."x86_64-linux".todo` to `home.packages`
### other distros
use `cargo build --release` to compile todo and copy `target/release/todo` to `/usr/bin`
## note
todo is still really early in development so be careful or sth
btw i know that my code is not the best but im still learing
## usage
```Usage: todo [COMMAND] [ARGUMENTS]
Todo is a super fast and simple tasks organizer written in rust
Example: todo list
Available commands:
- add [TASK/s]
adds new task/s
Example: todo add "buy carrots"
- edit [INDEX] [EDITED TASK/s]
edits an existing task/s
Example: todo edit 1 banana
- list
lists all tasks
Example: todo list
- done [INDEX]
marks task as done
Example: todo done 2 3 (marks second and third tasks as completed)
- rm [INDEX]
removes a task
Example: todo rm 4
- reset
deletes all tasks
- restore
restore recent backup after reset
- sort
sorts completed and uncompleted tasks
Example: todo sort
- raw [todo/done]
prints nothing but done/incompleted tasks in plain text, useful for scripting
Example: todo raw done
```