flakiness 0.209.0 → 0.211.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 CHANGED
@@ -20,13 +20,13 @@ npx flakiness <command>
20
20
 
21
21
  ```bash
22
22
  # Login to flakiness.io (opens browser for authentication)
23
- flakiness login
23
+ flakiness auth login
24
24
 
25
25
  # Show current logged-in user
26
- flakiness whoami
26
+ flakiness auth whoami
27
27
 
28
28
  # Logout from current session
29
- flakiness logout
29
+ flakiness auth logout
30
30
  ```
31
31
 
32
32
  ### Upload Reports
@@ -44,7 +44,7 @@ flakiness upload ./flakiness-report/report.json
44
44
  flakiness upload ./report.json --endpoint https://custom.flakiness.io
45
45
  ```
46
46
 
47
- The CLI supports **GitHub OIDC** authentication: when running in GitHub Actions with `id-token: write` permission and the report contains a `flakinessProject` field, the CLI automatically authenticates without an access token. Reporters set `flakinessProject` automatically; for JUnit XML, use `convert-junit --flakiness-project`.
47
+ The CLI supports **GitHub OIDC** authentication: when running in GitHub Actions with `id-token: write` permission and the report contains a `flakinessProject` field, the CLI automatically authenticates without an access token. Reporters set `flakinessProject` automatically; for JUnit XML, use `convert-junit --project`.
48
48
 
49
49
  **Options:**
50
50
  - `-t, --access-token <token>` — Read-write access token (env: `FLAKINESS_ACCESS_TOKEN`)
@@ -56,13 +56,13 @@ Download reports from a flakiness.io project:
56
56
 
57
57
  ```bash
58
58
  # Download all reports since a date
59
- flakiness download --flakiness-project myorg/myproject --since 2024-01-01
59
+ flakiness download --project myorg/myproject --since 2024-01-01
60
60
 
61
61
  # Download a specific run
62
- flakiness download --flakiness-project myorg/myproject --run-id 123
62
+ flakiness download --project myorg/myproject --run-id 123
63
63
 
64
64
  # Download with parallel jobs
65
- flakiness download --flakiness-project myorg/myproject --since 2024-01-01 -j 4
65
+ flakiness download --project myorg/myproject --since 2024-01-01 -j 4
66
66
  ```
67
67
 
68
68
  ### View Reports
@@ -99,7 +99,7 @@ flakiness convert-junit ./junit.xml \
99
99
  - `--env-name <name>` — Environment name for the report (default: `junit`)
100
100
  - `--commit-id <id>` — Git commit ID (auto-detected if not provided)
101
101
  - `--output-dir <dir>` — Output directory (default: `flakiness-report`)
102
- - `--flakiness-project <org/project>` — Flakiness.io project slug for OIDC uploads (env: `FLAKINESS_PROJECT`)
102
+ - `--project <org/project>` — Flakiness.io project slug for OIDC uploads (env: `FLAKINESS_PROJECT`)
103
103
 
104
104
  ## Environment Variables
105
105