A command line task manager. https://crates.io/crates/toru
Go to file
aaron-jack-manning 182efe568a 0.5.0
2022-09-10 16:16:22 +10:00
dev-notes formatting of invariants file 2022-08-30 19:57:52 +10:00
src moved the enforcing of some invariants to be done on save 2022-09-10 16:14:05 +10:00
.gitignore changes to list command line options 2022-08-29 17:34:22 +10:00
Cargo.lock 0.5.0 2022-09-10 16:16:22 +10:00
Cargo.toml 0.5.0 2022-09-10 16:16:22 +10:00
LICENSE 0.1.0 2022-08-21 18:02:12 +10:00
README.md 0.5.0 2022-09-10 16:16:22 +10:00

Toru

A (currently in development) to do app for the command line.


Design

The general idea of Toru is to have a to-do app which uses distinct, mutually exclusive vaults of tasks with configuration which is in a human readable and easy to export and import format (to completely separate personal, work, study, etc), however within a vault, to use tags and dependencies as a means of organising notes, rather than mutually exclusive folders.

For example, in a given vault, one may have a big project they are working on. This project, and all of the subtasks are listed together on the top level (and not organised according to projects). In order to conveniently organise and view tasks, use tags and dependencies, and filter searches for tasks to get the desired information. This allows you to categorise tasks even when they do not fall into any one obvious category.


Installation

The easiest way to install is from crates.io with cargo:

cargo install toru

Alternatively you can build from source:

git clone https://github.com/aaron-jack-manning/toru.git
cd toru
cargo build --release

which will create an executable at /target/release/toru.


Getting Started

Simply type toru in terminal to display help information for each command:

toru 0.5.0
Aaron Manning <contact@aaronmanning.net>
A command line task manager.

USAGE:
    toru <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    complete      Mark a task as complete
    config        For making changes to global configuration
    delete        Delete a task (move file to trash)
    edit          Edit a task directly
    git           Run Git commands at the root of the vault
    gitignore     Adds the recommended .gitignore file to the vault
    list          Lists tasks according to the specified fields, ordering and filters
    new           Create a new task
    stats         For statistics about the state of your vault
    svn           Run Subversion commands at the root of the vault
    svn:ignore    Adds the recommended svn:ignore property to the top level of the vault
    switch        Switches to the specified vault
    track         For tracking time against a task
    vault         Commands for interacting with vaults
    view          Displays the specified task in detail

You can view any help screen by passing in the -h or --help flag, and the internal documentation is designed to make it obvious how to use Toru.

To start up you will need a vault to store tasks in, which you can create by running toru vault new <NAME> <PATH>.

If you ever want to view all vaults, along with which is the current one, run toru vault list.

Then you can run toru new to create your first task.


Backup and Syncing

Toru stores tasks and other metadata locally in the folder of the vault in the interest of making that data easily accessible for backups, syncing across devices, and to be easy to export from. However, because Toru uses sequential IDs, sharing a vault across computers asynchronously, such as with Git, can cause different notes to be in conflict with each other. If all vault metadata is synced across devices completely before use, such conflicts can be avoided.