• Stars
    star
    269
  • Rank 152,662 (Top 4 %)
  • Language
    Rust
  • License
    GNU General Publi...
  • Created about 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Simple todo cli program written in rust

todo

A lightweight and super fast cli todo program written in rust under 200 sloc

gif

installation

AUR package: 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

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"
    - 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