@pkgseer/cli 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/cli.js +1929 -152
- package/dist/index.js +1 -1
- package/dist/shared/{chunk-9yar14cw.js → chunk-c1e7ntb6.js} +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -100,10 +100,16 @@ pkgseer search "auth" -P lodash --mode docs # Docs only
|
|
|
100
100
|
# Wait options (for packages that need indexing)
|
|
101
101
|
pkgseer search "api" -P new-package --wait 60000 # Wait up to 60s
|
|
102
102
|
pkgseer search "api" -P new-package --no-wait # Return immediately
|
|
103
|
+
|
|
104
|
+
# Resume long-running searches
|
|
105
|
+
pkgseer search "api" -P large-package --no-poll # Disable polling, get searchRef
|
|
106
|
+
pkgseer search --resume <searchRef> # Check status / get results
|
|
103
107
|
```
|
|
104
108
|
|
|
105
109
|
If packages haven't been indexed yet, the search will wait up to 30 seconds by default. Use `--wait <ms>` to customize or `--no-wait` to return immediately with progress info.
|
|
106
110
|
|
|
111
|
+
For long-running searches, use `--no-poll` to get a searchRef and later resume with `--resume <ref>`.
|
|
112
|
+
|
|
107
113
|
### Package Commands
|
|
108
114
|
|
|
109
115
|
```bash
|