1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

add haze env

This commit is contained in:
Robin Appelman 2023-03-20 20:36:44 +01:00
commit 2a587c0c7e
4 changed files with 85 additions and 1 deletions

View file

@ -147,6 +147,16 @@ Pinned instances will not be removed by `haze clean`.
haze [match] unpin
```
#### Run a command with instance environment variables set
```bash
haze [match] env <cmd> [args]
```
Runs the provided command with `NEXTCLOUD_URL`, `DATABASE_URL` and `REDIS_URL` environment variables set for the matched instance.
This is indented to run a local [push daemon](https://github.com/nextcloud/notify_push) against an instance.
## Configuration
Configuration is loaded from `~/.config/haze/haze.toml` and has the following options