From bc862a41ad0e85fa36d3918f350decbfce0ecdb2 Mon Sep 17 00:00:00 2001 From: Niklas Kapelle Date: Wed, 29 Oct 2025 16:17:14 +0100 Subject: [PATCH] improved cli interface --- cmd/steamimmich.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmd/steamimmich.go b/cmd/steamimmich.go index 018a591..206a0de 100644 --- a/cmd/steamimmich.go +++ b/cmd/steamimmich.go @@ -8,11 +8,11 @@ import ( ) type args struct { - BaseURL string `arg:"--base-url,required,env:BASE_URL" placeholder:"https://demo.immich.app"` - APIKey string `arg:"--api-key,required,env:API_KEY" placeholder:"API_KEY"` - UserdataDir string `arg:"--steam-userdata-dir,env:USERDATA_DIR" default:"$HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam/userdata"` - DeviceID string `arg:"--device-id,env:DEVICE_ID" default:"steam-immich"` - Album string `arg:"--album,env:ALBUM"` + BaseURL string `arg:"--base-url,required" placeholder:"BASE_URL" help:"Base URL of the Immich instance e.g.: https://demo.immich.app"` + APIKey string `arg:"--api-key,required" placeholder:"API_KEY" help:"API Key. Needs asset.upload, asset.update, albumAsset.create"` + UserdataDir string `arg:"--steam-userdata-dir" placeholder:"USERDATA_DIR" help:"Steam userdata directory. If not set, search automaticly."` + DeviceID string `arg:"--device-id" default:"steam-immich" help:"Device ID of the uploads"` + Album string `arg:"--album" help:"UUID of a album to upload to"` } func main() {