Commit graph

6 commits

Author SHA1 Message Date
Eli Gao
e2c34f17ba
feat(cli): watch paths for auto uploading daemon ()
* 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
Desmond Cox
c4a8fdf0f3
fix(cli): handle folders with single quotes ()
* fix(cli): handle folders with single quotes

* fix(cli): skip single quote test on Windows

* fix(cli): support double quote and backtick as well
2025-01-12 15:44:51 +00:00
Jonathan Jogenfors
b7dcc97712
fix(cli): allow special characters in paths ()
* fix(cli): commas in import paths

* adding more test cases
2024-10-09 18:15:50 +02:00
Feng Kaiyu
4cb165304b
fix(cli): handle patterns correctly on Windows ()
Modify the handling of patterns in the `crawl` function to correctly
convert the current path to a pattern when it contains backslash on
Windows, in according to fast-glob's docs.
2024-06-21 17:09:02 -07:00
Mert
c14a2eda5d
fix(cli): --ignore getting ignored () 2024-04-25 10:48:17 -04:00
Jason Rasmussen
db744f500b
refactor(cli): crawl service () 2024-03-22 10:30:24 -04:00
Renamed from cli/src/services/crawl.service.spec.ts (Browse further)