@quillaudits/cli 0.1.3 → 0.2.2
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 +37 -29
- package/dist/qs.js +22098 -266
- package/package.json +10 -3
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
# QuillAudits CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Paid audits from the terminal. Same path as the web app: **quote → order → pay → start**.
|
|
4
|
+
|
|
5
|
+
Prefer **Cursor / Claude**? Use [`@quillaudits/mcp`](../mcp) instead — [MCP guide](../../docs/MCP.md).
|
|
4
6
|
|
|
5
7
|
## Install
|
|
6
8
|
|
|
@@ -10,51 +12,57 @@ npm install -g @quillaudits/cli
|
|
|
10
12
|
npx @quillaudits/cli <command>
|
|
11
13
|
```
|
|
12
14
|
|
|
13
|
-
|
|
15
|
+
Node.js 18+.
|
|
14
16
|
|
|
15
|
-
## Quick
|
|
17
|
+
## Quick start
|
|
16
18
|
|
|
17
19
|
```bash
|
|
18
|
-
#
|
|
19
|
-
# Settings → API Keys → Create API Key
|
|
20
|
-
|
|
21
|
-
# 2. Configure the CLI
|
|
20
|
+
# Settings → API keys → create qs_live_…
|
|
22
21
|
qs init
|
|
23
22
|
|
|
24
|
-
|
|
25
|
-
qs audit
|
|
23
|
+
qs audit https://github.com/org/contract --ref main --yes --watch
|
|
24
|
+
qs audit --dir ./contracts --yes --watch
|
|
25
|
+
|
|
26
|
+
qs audit --dir ./contracts --no-pay
|
|
27
|
+
qs pay <quote-id> --yes --watch
|
|
26
28
|
|
|
27
|
-
# 4. View results
|
|
28
29
|
qs findings <job-id>
|
|
29
|
-
qs report <job-id>
|
|
30
|
+
qs report <job-id> --out ./report.pdf
|
|
30
31
|
```
|
|
31
32
|
|
|
32
33
|
## Commands
|
|
33
34
|
|
|
34
35
|
| Command | Description |
|
|
35
36
|
|---|---|
|
|
36
|
-
| `qs init` |
|
|
37
|
-
| `qs audit <git-url>` | Submit
|
|
38
|
-
| `qs
|
|
39
|
-
| `qs
|
|
40
|
-
| `qs
|
|
41
|
-
| `qs
|
|
42
|
-
| `qs
|
|
43
|
-
| `qs
|
|
44
|
-
| `qs
|
|
45
|
-
| `qs
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
## Environment Variables
|
|
50
|
-
|
|
51
|
-
For CI/CD, set these instead of running `qs init`:
|
|
37
|
+
| `qs init` | Save API key + URL |
|
|
38
|
+
| `qs audit <git-url\|--zip\|--dir>` | Submit → quote → pay → start |
|
|
39
|
+
| `qs quote <version-id>` | Create a quote |
|
|
40
|
+
| `qs pay <quote-id>` | Pay quote and start |
|
|
41
|
+
| `qs wallet` / `qs topup <dollars>` | Balances / prepaid top-up |
|
|
42
|
+
| `qs orders` / `qs order <id>` | Payment history |
|
|
43
|
+
| `qs status` / `qs watch` / `qs cancel` | Job lifecycle |
|
|
44
|
+
| `qs findings` / `qs report` | Results |
|
|
45
|
+
| `qs projects` / `qs versions` | Inventory |
|
|
46
|
+
| `qs logout` | Clear credentials |
|
|
47
|
+
|
|
48
|
+
## Environment
|
|
52
49
|
|
|
53
50
|
```bash
|
|
54
51
|
export QUILLSHIELD_API_URL=https://api.quillaudits.ai
|
|
55
52
|
export QUILLSHIELD_API_KEY=qs_live_xxxxxxxxxxxx
|
|
53
|
+
export QUILLSHIELD_ORG_ID=01… # optional
|
|
56
54
|
```
|
|
57
55
|
|
|
58
|
-
##
|
|
56
|
+
## Payments
|
|
57
|
+
|
|
58
|
+
- Wallet/coupon covers quote → audit starts immediately.
|
|
59
|
+
- `MOCK_PAYMENTS=true` on the API → CLI mock-confirms (no browser).
|
|
60
|
+
- Live Stripe → prints/opens Checkout and polls until paid.
|
|
61
|
+
- Always pass **`--yes`** in CI.
|
|
62
|
+
|
|
63
|
+
## Docs
|
|
59
64
|
|
|
60
|
-
|
|
65
|
+
- [docs/CLI.md](../../docs/CLI.md) — full CLI guide
|
|
66
|
+
- [docs/MCP.md](../../docs/MCP.md) — Cursor / Claude
|
|
67
|
+
- [docs/README.md](../../docs/README.md) — developer index
|
|
68
|
+
- [Published CLI guide](https://www.quillaudits.com/quillshield/developers/cli-install-and-init)
|