@afix-ci/cli-win32-arm64 0.1.0-rc.1 → 0.1.0-rc.24

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 +14 -0
  2. package/cli.exe +0 -0
  3. package/package.json +9 -9
package/README.md CHANGED
@@ -1,3 +1,17 @@
1
1
  # afix
2
2
 
3
3
  A simple tool for running scripts and correcting their outputs
4
+
5
+ ## Useful Commands
6
+
7
+ ```sh
8
+ # Interactive setup to authenticate and select pipelines
9
+ afix autoclass ado-init
10
+ # pull the latest 500 failed builds of the pipelines you selected
11
+ afix autoclass pull-logs --count=500
12
+ # run metrics to generate graphs and csv to ./afix-metrics
13
+ afix autoclass metrics
14
+ # pull unique PR ids from metrics csv
15
+ cat afix-metrics/build-history.csv | python3 -c 'import csv,sys; seen=set(); [print(r["pr_id"]) for r in csv.DictReader(sys.stdin) if r["is_open"]=="true" and r["fixable"]=="true" and r["is_safe_submit"]=="true" and not (r["pr_id"] in seen or seen.add(r["pr_id"]))]' > afix-metrics/safe-pr-ids.log
16
+ # fix all, sequentially
17
+ ```
package/cli.exe CHANGED
Binary file
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
- "bin": {
3
- "afix": "./cli.exe"
4
- },
2
+ "name": "@afix-ci/cli-win32-arm64",
3
+ "version": "0.1.0-rc.24",
4
+ "license": "MIT",
5
+ "os": [
6
+ "win32"
7
+ ],
5
8
  "cpu": [
6
9
  "arm64"
7
10
  ],
8
11
  "files": [
9
12
  "cli.exe"
10
13
  ],
11
- "license": "MIT",
12
- "name": "@afix-ci/cli-win32-arm64",
13
- "os": [
14
- "win32"
15
- ],
16
- "version": "0.1.0-rc.1"
14
+ "bin": {
15
+ "afix": "./cli.exe"
16
+ }
17
17
  }