You need to install the rustup package, which provides cargo. Check your package manager for availability. If it's unavailable, you can get the latest stable version of rustup by running:
sh
curl https://sh.rustup.rs -sSf | sh
Next, you need to clone the repository:
sh
git clone https://github.com/kawaki-san/ugly-todo-rs.git && cd ugly-todo-rs
Then you can build the binary:
sh
cargo build --release
When that's done, you can find the utd binary in the target/release directory. You may want to copy it to a directory in your $PATH.
sh
echo "utd" >> ~/.bashrc
sh
echo "utd" >> ~/.zshrc
fish
function fish_greeting
utd
end
funcsave fish_greeting
Add task(s) with priorities:
sh
utd -a "My first task" "My second task" "Check issues @Git" -n "Update license" -p low -p low -p high
This adds 3 tasks with custom priorities to your board (default priority is normal).
Priorities are mapped respectively to their tasks and notes - with tasks taking precedence i.e - If you set
3 tasksand2 notes; then you pass 4 priorities - the tasks will take the first 3 priorities, the firstnotewill have a custom priority, but the last one will use the default -normal
Run utd -h to view help.
utd reads a config.toml file from your $XDG_CONFIG_HOME which you may use to customise the interface.