From f5796562ce0eda24de24f43465e32dbf17f9d441 Mon Sep 17 00:00:00 2001 From: MarcoIeni <11428655+MarcoIeni@users.noreply.github.com> Date: Mon, 7 Sep 2026 20:35:25 -0400 Subject: [PATCH] add logout commands --- justfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/justfile b/justfile index 3e85652..851dcd0 100644 --- a/justfile +++ b/justfile @@ -5,6 +5,7 @@ set default-list := true vm := "buddy" +config_dir := "$HOME/.config/buddy" host: mkdir -p "{{ env('HOME') / 'buddy' }}" @@ -25,6 +26,9 @@ restart: stop start delete: stop limactl delete --force "{{ vm }}" +delete-file path: + limactl shell "{{ vm }}" bash -lc 'rm -f "{{ path }}"' + login: login-codex login-datadog login-fastly login-codex: @@ -33,6 +37,8 @@ login-codex: login-datadog: cargo run --quiet -- login-datadog "{{ vm }}" +logout-datadog: (delete-file (config_dir / "datadog.env")) + dump-datadog-permissions: cargo run --quiet -- datadog-permissions dump "{{ vm }}" @@ -42,6 +48,8 @@ assert-datadog-credentials: login-fastly: cargo run --quiet -- login-fastly "{{ vm }}" +logout-fastly: (delete-file (config_dir / "fastly.env")) + # Upgrade manually. Upgrades are not done in `system.sh` because # a full upgrade would make startup slower, less predictable, and could install kernel updates requiring another reboot. upgrade: