0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-03-11 02:23:09 -05:00
immich/cli/src
Eli Gao e2c34f17ba
feat(cli): watch paths for auto uploading daemon (#14923)
* feat(cli): watch paths for auto uploading daemon

* chore: update package-lock

* test(cli): Batcher util calss

* feat(cli): expose batcher params from startWatch()

* test(cli): startWatch() for `--watch`

* refactor(cli): more reliable watcher

* feat(cli): disable progress bar on --no-progress or --watch

* fix(cli): extensions match when upload with watch

* feat(cli): basic logs without progress on upload

* feat(cli): hide progress in uploadFiles()

* refactor(cli): use promise-based setTimeout() instead of hand crafted sleep()

* refactor(cli): unexport UPLOAD_WATCH consts

* refactor(cli): rename fsWatchListener() to onFile()

* test(cli): prefix dot to mocked getSupportedMediaTypes()

* test(cli): add tests for ignored patterns/ unsupported exts

* refactor(cli): minor changes for code reviews

* feat(cli): disable onFile logs when progress bar is enabled
2025-03-03 13:05:32 -05:00
..
commands feat(cli): watch paths for auto uploading daemon (#14923) 2025-03-03 13:05:32 -05:00
index.ts feat(cli): watch paths for auto uploading daemon (#14923) 2025-03-03 13:05:32 -05:00
queue.ts fix(cli): Concurrency not fully using queue potential (#11828) 2024-11-15 13:09:56 -05:00
utils.spec.ts feat(cli): watch paths for auto uploading daemon (#14923) 2025-03-03 13:05:32 -05:00
utils.ts feat(cli): watch paths for auto uploading daemon (#14923) 2025-03-03 13:05:32 -05:00