simulot / immich-go

An alternative to the immich-CLI command that doesn't depend on nodejs installation. It tries its best for importing google photos takeout archives.
GNU Affero General Public License v3.0
1.2k stars 36 forks source link

[FEATURE REQUEST] Use immich CLI configuration if it already exists #197

Closed simulot closed 3 months ago

simulot commented 3 months ago

Improvement: #189 Use a configuration file to store server's address and its API key

The server URL and the API key are now stored into a configuration file (by default $HOME/.immich-go/immich-go.json). If not provided in the CLI argument, those values are read from the configuration file.

The option -use-configuration=path/to/config/file let you specify the configuration file.

fix: #193 Flags not being passed to subcommands #193

Fixes #189 Fixes #193