added deviceID as an arg
This commit is contained in:
@@ -11,6 +11,7 @@ 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"`
|
||||
}
|
||||
|
||||
func main() {
|
||||
@@ -21,5 +22,6 @@ func main() {
|
||||
APIKey: args.APIKey,
|
||||
BaseURL: args.BaseURL,
|
||||
UserdataDir: os.ExpandEnv(args.UserdataDir),
|
||||
DeiveID: args.DeviceID,
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user