@binclusive/cli 0.1.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/LICENSE.md +46 -0
- package/README.md +91 -0
- package/dist/Menu-OSFE6ZQQ.js +2 -0
- package/dist/bin.js +352 -0
- package/dist/build-737TDK5H.js +2 -0
- package/dist/chunk-3MDNIFWR.js +38 -0
- package/dist/chunk-HPOSJQ4U.js +8 -0
- package/dist/chunk-PCQ2R3VR.js +2 -0
- package/dist/chunk-SNQ7SXG3.js +336 -0
- package/dist/chunk-VCKJNF7P.js +31 -0
- package/dist/devtools-RNURB4HU.js +2 -0
- package/dist/react-RAQ3DDSD.js +2 -0
- package/package.json +57 -0
package/LICENSE.md
ADDED
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
# Binclusive CLI — Proprietary License
|
|
2
|
+
|
|
3
|
+
Copyright © 2026 Binclusive. All rights reserved.
|
|
4
|
+
|
|
5
|
+
This software and its accompanying files (the "Software") are the confidential
|
|
6
|
+
and proprietary property of Binclusive. The Software is distributed in compiled
|
|
7
|
+
form only; the source code is not published and is not part of this package.
|
|
8
|
+
|
|
9
|
+
## Grant
|
|
10
|
+
|
|
11
|
+
Subject to the terms below, Binclusive grants you a non-exclusive,
|
|
12
|
+
non-transferable, revocable license to install and use the Software to interact
|
|
13
|
+
with Binclusive services, for your internal business purposes, including in
|
|
14
|
+
automated (CI/CD) environments.
|
|
15
|
+
|
|
16
|
+
## Restrictions
|
|
17
|
+
|
|
18
|
+
You may not, in whole or in part:
|
|
19
|
+
|
|
20
|
+
- copy, modify, or create derivative works of the Software;
|
|
21
|
+
- reverse engineer, decompile, disassemble, or otherwise attempt to derive the
|
|
22
|
+
source code, except to the extent this restriction is prohibited by applicable
|
|
23
|
+
law;
|
|
24
|
+
- sell, rent, lease, sublicense, distribute, or otherwise transfer the Software
|
|
25
|
+
to any third party;
|
|
26
|
+
- remove or alter any proprietary notices.
|
|
27
|
+
|
|
28
|
+
## No Open-Source License
|
|
29
|
+
|
|
30
|
+
Publication on the npm registry does not place the Software in the public domain
|
|
31
|
+
and grants no rights beyond those stated above. No open-source license applies.
|
|
32
|
+
|
|
33
|
+
## Termination
|
|
34
|
+
|
|
35
|
+
This license terminates automatically if you breach any term. On termination you
|
|
36
|
+
must stop using and delete all copies of the Software.
|
|
37
|
+
|
|
38
|
+
## Disclaimer
|
|
39
|
+
|
|
40
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
41
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
|
|
42
|
+
FOR A PARTICULAR PURPOSE, AND NONINFRINGEMENT. IN NO EVENT SHALL BINCLUSIVE BE
|
|
43
|
+
LIABLE FOR ANY CLAIM, DAMAGES, OR OTHER LIABILITY ARISING FROM, OUT OF, OR IN
|
|
44
|
+
CONNECTION WITH THE SOFTWARE OR ITS USE.
|
|
45
|
+
|
|
46
|
+
For licensing inquiries: hello@binclusive.io
|
package/README.md
ADDED
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
# @binclusive/cli
|
|
2
|
+
|
|
3
|
+
Run accessibility audits and view violation tickets from your terminal.
|
|
4
|
+
|
|
5
|
+
```bash
|
|
6
|
+
npm install -g @binclusive/cli
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
This installs two equivalent commands — use whichever you prefer:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
b8e --help
|
|
13
|
+
binclusive --help
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## Quickstart
|
|
17
|
+
|
|
18
|
+
```bash
|
|
19
|
+
b8e login # authenticate with Binclusive (opens your browser)
|
|
20
|
+
b8e whoami # show the current user and organization
|
|
21
|
+
b8e audit # run an accessibility audit
|
|
22
|
+
b8e tickets # list and view violation tickets
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
Run `b8e` with no arguments in an interactive terminal to get a menu.
|
|
26
|
+
|
|
27
|
+
## Audits
|
|
28
|
+
|
|
29
|
+
```bash
|
|
30
|
+
b8e audit --project <id> --format pretty
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
Common flags:
|
|
34
|
+
|
|
35
|
+
| Flag | Description |
|
|
36
|
+
| --- | --- |
|
|
37
|
+
| `--project <id>` | Project to audit |
|
|
38
|
+
| `--journeys <id,id,...>` | Comma-separated journey IDs |
|
|
39
|
+
| `--config <path>` | Path to `.b8e.yml` (default: `./.b8e.yml`) |
|
|
40
|
+
| `--format <pretty\|json\|sarif>` | Output format |
|
|
41
|
+
| `--fail-on <critical\|major\|minor>` | Exit non-zero at/above this severity |
|
|
42
|
+
| `--max-violations <n>` | Exit non-zero if violations exceed `n` |
|
|
43
|
+
| `--output <path>` | Write `json`/`sarif` output to a file |
|
|
44
|
+
| `--ci` | CI mode (non-interactive) |
|
|
45
|
+
|
|
46
|
+
The `sarif` output drops straight into GitHub code scanning and other SARIF
|
|
47
|
+
consumers. Run `b8e audit --help` for the full list.
|
|
48
|
+
|
|
49
|
+
### Browser setup (audits only)
|
|
50
|
+
|
|
51
|
+
Audits drive a real browser. The browser engine is downloaded **on demand**, not
|
|
52
|
+
at install time, so the base CLI stays small. The first time you run an audit
|
|
53
|
+
you'll be prompted to install Chromium:
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
npx playwright install chromium
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
If you installed the CLI with `--omit=optional` (recommended for slim CI
|
|
60
|
+
images), also add the Playwright package first:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
npm i -g playwright && npx playwright install chromium
|
|
64
|
+
```
|
|
65
|
+
|
|
66
|
+
## CI usage
|
|
67
|
+
|
|
68
|
+
The CLI is non-interactive under `--ci` and exits with a non-zero status when
|
|
69
|
+
your thresholds are exceeded, so it drops into a pipeline step directly:
|
|
70
|
+
|
|
71
|
+
```bash
|
|
72
|
+
b8e audit --ci --project "$PROJECT_ID" --fail-on major --format sarif --output audit.sarif
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
Authenticate CI runs with a Binclusive API token via the environment rather than
|
|
76
|
+
`b8e login`. See the docs for token setup.
|
|
77
|
+
|
|
78
|
+
## Configuration
|
|
79
|
+
|
|
80
|
+
| Environment variable | Purpose |
|
|
81
|
+
| --- | --- |
|
|
82
|
+
| `B8E_ORG_ID` | Override the saved organization (same as `--org`) |
|
|
83
|
+
|
|
84
|
+
## Support
|
|
85
|
+
|
|
86
|
+
Docs and help: [binclusive.io](https://binclusive.io) · hello@binclusive.io
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
© 2026 Binclusive. Proprietary software distributed in compiled form. See
|
|
91
|
+
[LICENSE.md](./LICENSE.md). Not open source.
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { createRequire as __cjsCreateRequire } from 'node:module'; const require = __cjsCreateRequire(import.meta.url);
|
|
2
|
+
import{a as x}from"./chunk-VCKJNF7P.js";import{a as u,b as e,l as p,m as f}from"./chunk-SNQ7SXG3.js";import{a as b}from"./chunk-3MDNIFWR.js";import{d as c}from"./chunk-PCQ2R3VR.js";var M=c(b(),1),i=c(x(),1),r=[{label:"Login",action:"login"},{label:"Run audit",action:"audit"},{label:"View tickets",action:"tickets"},{label:"Whoami",action:"whoami"},{label:"Quit",action:"quit"}];function g({onSelect:l}){let{exit:s}=f(),[n,m]=(0,M.useState)(0);return p((a,t)=>{if(t.upArrow&&m(o=>Math.max(0,o-1)),t.downArrow&&m(o=>Math.min(r.length-1,o+1)),t.return){let o=r[n];o&&(l(o.action),s())}t.escape&&(l("quit"),s())}),(0,i.jsxs)(u,{flexDirection:"column",children:[(0,i.jsx)(e,{bold:!0,children:"b8e \u2014 Binclusive CLI"}),(0,i.jsx)(e,{dimColor:!0,children:"Use \u2191/\u2193 to navigate, Enter to select, Esc to quit"}),(0,i.jsx)(u,{flexDirection:"column",marginTop:1,children:r.map((a,t)=>(0,i.jsxs)(e,{color:t===n?"cyan":void 0,children:[t===n?"\u203A ":" ",a.label]},a.action))})]})}export{g as Menu};
|