mainfast 0.1.1 → 0.1.3
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 -5
- package/dist/mainfast.cjs +340 -315
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
# mainfast
|
|
2
2
|
|
|
3
3
|
Set up and run [Mainfast](https://mainfast.dev), GitHub checks that stop merges from silently
|
|
4
|
-
breaking main.
|
|
4
|
+
breaking main. It works the same for people and for coding agents.
|
|
5
5
|
|
|
6
6
|
```bash
|
|
7
7
|
npx mainfast init # write the workflows and a starter .mainfast.yml
|
|
8
8
|
npx mainfast doctor # what is installed, what is missing
|
|
9
9
|
npx mainfast check # run Intact on this branch's merge commits, before you push
|
|
10
|
-
npx mainfast audit owners
|
|
10
|
+
npx mainfast audit owners # run one check now: rollcall, owners, migrations or evidence
|
|
11
11
|
```
|
|
12
12
|
|
|
13
|
-
`init` never overwrites a file
|
|
14
|
-
Every command takes `--help` and `--json`. Exit codes: 0 nothing failed
|
|
15
|
-
|
|
13
|
+
`init` never overwrites a file unless you pass `--force`, and it does not commit, push or change
|
|
14
|
+
branch protection. Every command takes `--help` and `--json`. Exit codes: `0` nothing failed
|
|
15
|
+
(warnings may still be listed), `1` a finding that fails or something missing, `2` error. The
|
|
16
|
+
token comes only from `GITHUB_TOKEN` or `GH_TOKEN` and is never printed.
|
|
16
17
|
|
|
17
18
|
## MCP
|
|
18
19
|
|