@sleds/cli 0.1.66 → 0.1.68

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.
Files changed (3) hide show
  1. package/README.md +2 -0
  2. package/dist/sleds.mjs +2547 -630
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -115,6 +115,8 @@ sleuth-export/
115
115
 
116
116
  Nested items carry `_parents` (the project and organization they came from). The exporter reads Sleuth's schema and builds every query from it, so a field Sleuth renames or drops is followed, not a crash. Re-run the same command to resume after a stop: finished past months are skipped (`--fresh` fetches them again). `--since`/`--until YYYY-MM`, `--only deploys,projects`, `--page-size`, `--depth`; `sleds sleuth` lists them all. The command exits 1 when a section is incomplete, and the manifest says which.
117
117
 
118
+ The key goes as `authorization: apikey <key>`; when Sleuth refuses it or answers PERMISSION_DENIED, the export tries `Bearer <key>` once and keeps whichever answers. `SLEUTH_AUTH=bearer` (or `apikey`) sends that scheme alone. A key Sleuth denies under both stops the export at once (exit 2) rather than splitting the month in search of a smaller query.
119
+
118
120
  ## Docs
119
121
 
120
122
  Repo: github.com/spdyadam/sleds · Site: sleds.ai