2024-04-11 17:02:35 +02:00
|
|
|
# Coh@mail
|
|
|
|
|
|
|
|
Mail cli for Coh@bit.
|
|
|
|
|
2024-06-06 13:38:57 +02:00
|
|
|
> [!WARNING]
|
|
|
|
>
|
|
|
|
> Early preview Much more to come, stay up to date
|
2024-04-11 17:30:36 +02:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
2024-07-15 14:58:40 +02:00
|
|
|
### From [jsr](https://jsr.io)
|
|
|
|
|
|
|
|
```sh
|
|
|
|
deno install \
|
|
|
|
--allow-read \
|
|
|
|
--allow-env \
|
|
|
|
--allow-net=0.0.0.0 \
|
|
|
|
--allow-sys=osRelease,networkInterfaces \
|
|
|
|
--allow-run=/usr/sbin/sendmail,whoami \
|
|
|
|
--global --force --name=cohamail jsr:@cohabit/mailer/cli
|
|
|
|
```
|
|
|
|
|
|
|
|
### From sources
|
|
|
|
|
2024-06-06 13:38:57 +02:00
|
|
|
> [!WARNING]
|
|
|
|
>
|
|
|
|
> Currently bin manually added to [releases](./releases) tab. Prefer `git clone`
|
|
|
|
> and [deno](https://deno.land) to use latest version.
|
2024-04-17 14:28:20 +02:00
|
|
|
|
2024-04-11 17:02:35 +02:00
|
|
|
## Basic usage
|
|
|
|
|
2024-04-17 14:28:20 +02:00
|
|
|
- From deno
|
|
|
|
```sh
|
|
|
|
cd ./cohabit_mail
|
|
|
|
deno task cli -h
|
|
|
|
deno task <subcommand> -h
|
|
|
|
```
|
|
|
|
|
|
|
|
- From bin
|
|
|
|
```sh
|
|
|
|
./cohamail -h
|
|
|
|
# OR
|
|
|
|
./cohamail <subcommand> -h
|
|
|
|
```
|