ugly todo
Create tasks and save notes offline from your terminal!
This is a port/readaptation of Ugly To-Do with additional features
Demo
Installation
## Arch Linux
```sh
paru -S utd
```
## Not on Arch?
You need `cargo`, which is provided by the `rust` or `rustup` packages. Check with your package manager. Alternatively, you can get the latest stable version of `rustup` by running:
```sh
curl https://sh.rustup.rs -sSf | sh
```
From here, you can install utd by running:
```sh
cargo install utd
```
## Building from source
```sh
git clone https://github.com/kawaki-san/utd-rs.git && cd utd-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`.
A `man` file is output at `target/utd.1` after building should you want an entry in `mandb`
Start with shell
## bash
```sh
echo "utd" >> ~/.bashrc
```
## zsh
```sh
echo "utd" >> ~/.zshrc
```
## fish
```fish
function fish_greeting
utd
end
funcsave fish_greeting
```
Usage
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 tasks` and `2 notes`; then you pass 4 priorities - the tasks will take the first 3 priorities, the first `note` will have a custom priority, but the last one will use the default - `normal`
Run `utd -h` or `man utd` for help.
Configuration
`utd` doesn't create a config file for you, but it looks for one in the following locations:
- `$XDG_CONFIG_HOME/utd.toml`
- `$XDG_CONFIG_HOME/utd/config.toml`
## Windows
- `%APPDATA%\Roaming\utd\utd.toml`
- `%APPDATA%\Roaming\utd\utd\config.toml`
The default configuration file can be found in the repo, [here](config.toml)