5 releases (breaking)

0.12.5 Jun 2, 2024
0.11.4 May 29, 2024
0.5.0 May 22, 2024
0.4.0 May 21, 2024
0.3.0 May 20, 2024

#1902 in Command line utilities

Download history 3/week @ 2024-09-19 4/week @ 2024-09-26 2/week @ 2024-10-03

253 downloads per month

MIT license

120KB
3K SLoC

Toado 🐸 📋

crates.io version

A simple interactive task and project manager for the command line built in rust.

Installation

Currently, toado is only available and tested for x86-64 Linux. You can download a precompiled binary from https://github.com/maxcaplan/toado/releases

Cargo

Toado can also be installed through rusts package manager cargo. Install rust and cargo here.

To install toado through cargo, run the following command:

$ cargo install toado

To check that toado is installed, run the following command:

$ toado --version

This command will print the version of the application if installed correctly.

Usage

Information about toado's commands can be viewed by running the help command as follows:

$ toado help
A simple interactive task and project manager for the command line

Usage: toado [OPTIONS] [SEARCH] [COMMAND]

Commands:
  search  Search for items
  add     Add a new item
  delete  Remove an item
  update  Update an item
  ls      Display a list of items
  check   Complete a task
  assign  Assigns a task to a project
  help    Print this message or the help of the given subcommand(s)

Arguments:
  [SEARCH]  Search term for item

Options:
  -t, --task         Execute search for tasks (default behaviour)
  -p, --project      Execute search for projects
  -v, --verbose      List all item information
  -f, --file <FILE>  Path to database file
  -h, --help         Print help
  -V, --version      Print version

You can view information about specific commands using the help as follows:

$ todo help ls
Display a list of items

Usage: toado ls [OPTIONS] [ORDER_BY]

Arguments:
  [ORDER_BY]  List item order [possible values: id, name, priority]

Options:
  -t, --task             List tasks (default behaviour)
  -p, --project          List projects
  -v, --verbose          List all item information
  -a, --asc              List in ascending order
  -d, --desc             List in descending order
  -l, --limit <LIMIT>    Limit the number of items listed
  -o, --offset <OFFSET>  Offset start of list
  -f, --full             List all items
  -h, --help             Print help
  -V, --version          Print version

Configuration

Toado's look and behaviour can be configured TOML config file as follows:

# config.toml
[table]
horizontal = "-"
vertical = "|"

Config files can be passed as cli arguments as follows:

$ toado -c path/to/config.toml

If no config file is supplied, toado will look for a config file at ~/.config/toado/config.toml

To generate a default config file, run the following commands:

$ rm ~/.config/toado/config.toml
$ toado

This will generate a config file at ~/.config/toado/config.toml

You can also view the defualt config file here

Building

To build the project, you must have Rust version 1.77.2 or later. Run the following commands to build toado:

$ git clone https://github.com/maxcaplan/toado.git
$ cd toado
$ cargo build --release
$ ./target/release/toado --version

Dependencies

~27–35MB
~581K SLoC