@quillaudits/cli 0.2.1 → 0.2.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 +28 -33
- package/dist/qs.js +21311 -589
- package/package.json +9 -4
package/README.md
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
#
|
|
1
|
+
# QuillShield CLI
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
Run QuillShield from the terminal. QuillShield is the AI security auditor for Solidity smart contracts from the audit firm QuillAudits: it runs a full audit with proofs of concept, then checks every pull request against it. The CLI takes the same path as the web app at https://shield.quillaudits.com: **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,27 +12,20 @@ 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
|
-
|
|
20
|
-
# 2. Configure
|
|
20
|
+
# Settings → API keys → create qs_live_…
|
|
21
21
|
qs init
|
|
22
22
|
|
|
23
|
-
# 3. Submit + pay + start (use --yes in CI / mock environments)
|
|
24
23
|
qs audit https://github.com/org/contract --ref main --yes --watch
|
|
25
|
-
|
|
26
|
-
# Local folder
|
|
27
24
|
qs audit --dir ./contracts --yes --watch
|
|
28
25
|
|
|
29
|
-
# Prepare quote only, pay later
|
|
30
26
|
qs audit --dir ./contracts --no-pay
|
|
31
27
|
qs pay <quote-id> --yes --watch
|
|
32
28
|
|
|
33
|
-
# 4. Results
|
|
34
29
|
qs findings <job-id>
|
|
35
30
|
qs report <job-id> --out ./report.pdf
|
|
36
31
|
```
|
|
@@ -39,35 +34,35 @@ qs report <job-id> --out ./report.pdf
|
|
|
39
34
|
|
|
40
35
|
| Command | Description |
|
|
41
36
|
|---|---|
|
|
42
|
-
| `qs init` |
|
|
43
|
-
| `qs audit <git-url\|--zip\|--dir>` | Submit → quote → pay → start
|
|
44
|
-
| `qs quote <version-id>` | Create a
|
|
45
|
-
| `qs pay <quote-id>` | Pay
|
|
46
|
-
| `qs wallet`
|
|
47
|
-
| `qs topup <dollars>` | Top up the wallet |
|
|
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 |
|
|
48
42
|
| `qs orders` / `qs order <id>` | Payment history |
|
|
49
|
-
| `qs status
|
|
50
|
-
| `qs
|
|
51
|
-
| `qs
|
|
52
|
-
| `qs
|
|
53
|
-
| `qs projects` / `qs versions` | List projects / versions |
|
|
54
|
-
| `qs cancel <job-id>` | Cancel a running audit |
|
|
55
|
-
| `qs logout` | Clear stored credentials |
|
|
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 |
|
|
56
47
|
|
|
57
|
-
## Environment
|
|
48
|
+
## Environment
|
|
58
49
|
|
|
59
50
|
```bash
|
|
60
|
-
export QUILLSHIELD_API_URL=https://api.
|
|
51
|
+
export QUILLSHIELD_API_URL=https://api-production-7027.up.railway.app
|
|
61
52
|
export QUILLSHIELD_API_KEY=qs_live_xxxxxxxxxxxx
|
|
62
53
|
export QUILLSHIELD_ORG_ID=01… # optional
|
|
63
54
|
```
|
|
64
55
|
|
|
65
|
-
##
|
|
56
|
+
## Payments
|
|
66
57
|
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
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.
|
|
70
62
|
|
|
71
|
-
##
|
|
63
|
+
## Docs
|
|
72
64
|
|
|
73
|
-
|
|
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)
|