@quillaudits/cli 0.2.1 → 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.
Files changed (3) hide show
  1. package/README.md +26 -31
  2. package/dist/qs.js +21156 -574
  3. package/package.json +5 -3
package/README.md CHANGED
@@ -1,6 +1,8 @@
1
1
  # QuillAudits CLI
2
2
 
3
- Paid audit workflow from the command line (same path as the web app: quote → order → pay → start).
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,27 +12,20 @@ npm install -g @quillaudits/cli
10
12
  npx @quillaudits/cli <command>
11
13
  ```
12
14
 
13
- Requires Node.js 18+.
15
+ Node.js 18+.
14
16
 
15
- ## Quick Start
17
+ ## Quick start
16
18
 
17
19
  ```bash
18
- # 1. Create an API key in the web UI (Settings → API Keys)
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,22 +34,18 @@ qs report <job-id> --out ./report.pdf
39
34
 
40
35
  | Command | Description |
41
36
  |---|---|
42
- | `qs init` | Configure API key + URL |
43
- | `qs audit <git-url\|--zip\|--dir>` | Submit → quote → pay → start audit |
44
- | `qs quote <version-id>` | Create a price quote |
45
- | `qs pay <quote-id>` | Pay a quote and start the audit |
46
- | `qs wallet` | Show prepaid / bonus / refund balances |
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 <job-id>` | Audit status |
50
- | `qs watch <job-id>` | Live progress stream |
51
- | `qs findings <job-id>` | List findings |
52
- | `qs report <job-id>` | Download report |
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 Variables
48
+ ## Environment
58
49
 
59
50
  ```bash
60
51
  export QUILLSHIELD_API_URL=https://api.quillaudits.ai
@@ -62,12 +53,16 @@ export QUILLSHIELD_API_KEY=qs_live_xxxxxxxxxxxx
62
53
  export QUILLSHIELD_ORG_ID=01… # optional
63
54
  ```
64
55
 
65
- ## Payment notes
56
+ ## Payments
66
57
 
67
- - With **`MOCK_PAYMENTS=true`**, the CLI confirms payment automatically (no browser).
68
- - With live Stripe, the CLI prints/opens the Checkout URL and polls until paid.
69
- - Always pass **`--yes`** in CI so non-interactive runs can charge.
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
- ## Full Documentation
63
+ ## Docs
72
64
 
73
- See [docs/CLI.md](../../docs/CLI.md) for the complete guide.
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)