Todo CLI

A simple command-line todo application written in Rust.

Installation

After forking and cloning the repository run these commands.

cargo install --path .             # Make sure you have rust installed on your machine

Usage

todocli <command> [options]

Options

  • -h, --help: Print help
  • -V, --version: Print version

Lists all todos

todocli list [options]

Options

  • -l, --limit : Specify the maximum number of todos to show.
  • -c, --completed: Show only completed todos.
  • -h, --help: Print help

Add a New Todo Item

todocli add  [options]

Options

  • -t, --title <TITLE>: The title of the todo.
  • -c, --completed: Mark the todo as completed upon creation.
  • -h, --help: Print help

Mark/Unmark Todo

todocli mark  [options]

Options

  • -i, --id : The ID of the todo to mark.
  • -h, --help: Print help