You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--type`| One of: `submissions`, `companyfacts`, `ciks`, `all` (default: `all`) |
205
+
|`<type>`| One of: `submissions`, `facts`, `ciks`, `all` (default: `all`) |
206
206
207
207
**Behavior:**
208
208
209
209
-`submissions` — Downloads `submissions.zip`, extracts to `SEC_RAW_DATA_FOLDER/submissions/`
210
-
-`companyfacts` — Downloads `companyfacts.zip`, extracts to `SEC_RAW_DATA_FOLDER/companyfacts/`
210
+
-`facts` — Downloads `companyfacts.zip`, extracts to `SEC_RAW_DATA_FOLDER/facts/`
211
211
-`ciks` — Downloads `cik-lookup-data.txt` to `SEC_RAW_DATA_FOLDER/ciks/`
212
212
-`all` — Downloads all three
213
213
- Validates extracted paths to prevent directory traversal
@@ -355,53 +355,59 @@ Process a single accession document.
355
355
356
356
Read-only commands for querying the database. All query commands support `--format` (`table`, `csv`, `json`; default: `table`) and `--limit`/`--offset` for pagination.
Copy file name to clipboardExpand all lines: docs/plans/2026-03-05-cli-v2-design.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,9 +32,7 @@ Interactive wizard:
32
32
5. Create directories
33
33
6. Run `db setup`
34
34
35
-
Detects existing `.env.local` and offers to reconfigure or skip. PostgreSQL path prompts for connection string or individual parameters. Validates database connectivity before writing config.
36
-
37
-
When `--json` is passed: outputs config as JSON, no interactivity (for scripting). Non-zero exit if any step fails.
35
+
Detects existing `.env.local` and warns before overwriting. PostgreSQL path prompts for connection string or individual parameters. Non-zero exit if any step fails.
0 commit comments