@codemarc/blt 1.4.1 → 1.4.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 CHANGED
@@ -1,12 +1,17 @@
1
1
  # @codemarc/blt
2
2
 
3
- > BLT CLI - Command-line tools for environment checking and image processing
3
+ > BLT CLI Command-line tools for image processing, PDF manipulation, storage, schema/data build and deploy, and version management.
4
4
 
5
5
  ## Features
6
6
 
7
- - **Environment Checking**: Verify environment setup and configuration
8
- - **Image Processing**: WebP conversion, sharpening, color manipulation, and enhancement
9
- - **Version Management**: Update and manage version.json files with build information
7
+ - **Image**: WebP conversion, sharpening, color manipulation, and enhancement
8
+ - **PDF**: Combine PDFs (binder), create folios with page numbers and table of contents
9
+ - **Version**: Update and manage `version.json`, format version strings, generate version SQL
10
+ - **Build**: Build schema from DDL files, build data from instance directory
11
+ - **Deploy**: Deploy schema/data from SQL files, run a single SQL file
12
+ - **Bucket**: Supabase storage — list buckets, list/upload/download files, get URLs
13
+ - **Show**: Schema info, row counts, env vars, DB version, repo list
14
+ - **Cleanup**: Remove generated SQL/instance files, clean infrequently used YAML tags
10
15
 
11
16
  ## Installation
12
17
 
@@ -22,73 +27,48 @@ pnpm add -g @codemarc/blt
22
27
 
23
28
  ## Quick Start
24
29
 
25
- ### Check Environment
26
-
27
- Verify your environment setup:
28
-
29
- ```bash
30
- blt check
31
- ```
32
-
33
- This command checks for:
34
- - `.env` file existence
35
- - `SMASH_KEY` environment variable
36
- - Other environment configuration
37
-
38
- ### Process Images
39
-
40
- Convert an image to WebP:
41
-
42
30
  ```bash
31
+ # Convert an image to WebP
43
32
  blt image convert ./photo.jpg
44
- ```
45
-
46
- Sharpen an image:
47
33
 
48
- ```bash
49
- blt image sharpen ./photo.jpg
50
- ```
34
+ # Combine PDFs into one file
35
+ blt pdf binder output.pdf file1.pdf file2.pdf
51
36
 
52
- ### Version Management
53
-
54
- Update version.json with current build information:
55
-
56
- ```bash
37
+ # Update version.json in current directory
57
38
  blt version update
58
- ```
59
39
 
60
- This command creates or updates a `version.json` file in the current directory with:
61
- - Build number (generated using `build-number-generator`)
62
- - Component name (detected from `package.json`)
63
- - Component version from `package.json`
64
- - Runtime information (Bun/Node version)
65
- - Git commit hash and branch
66
- - Build timestamp
67
- - Package manager information
40
+ # List Supabase storage buckets
41
+ blt bucket names
68
42
 
69
- ## Commands
43
+ # Show schema info
44
+ blt show schema
70
45
 
71
- ### Environment Commands
46
+ # Deploy schema from .sql files
47
+ blt deploy schema
48
+ ```
72
49
 
73
- #### `blt check [all]`
50
+ ## Commands Overview
74
51
 
75
- Check the environment setup
52
+ | Command | Description |
53
+ |---------------|--------------------------------------|
54
+ | `blt image` | Convert, sharpen, enhance, recolor |
55
+ | `blt pdf` | Binder (combine), folio (TOC + pages)|
56
+ | `blt version` | Update, string, sql |
57
+ | `blt build` | Schema (DDL), data (instance) |
58
+ | `blt deploy` | Schema, data, sql file |
59
+ | `blt bucket` | names, list, upload, download, url |
60
+ | `blt show` | schema, counts, env, db, repo |
61
+ | `blt cleanup` | generated, tags |
76
62
 
77
- ```bash
78
- blt check
79
- blt check all
80
- ```
63
+ Run `blt <command>` with no subcommand for help (e.g. `blt image`, `blt pdf`).
81
64
 
82
- This command verifies:
83
- - Presence of `.env` file
84
- - `SMASH_KEY` environment variable
85
- - Other environment configuration
65
+ ---
86
66
 
87
- ### Image Commands
67
+ ## Image Commands
88
68
 
89
- #### `blt image convert <input>`
69
+ ### `blt image convert <input>`
90
70
 
91
- Convert images to WebP format
71
+ Convert images to WebP format.
92
72
 
93
73
  ```bash
94
74
  blt image convert ./photo.jpg
@@ -97,14 +77,15 @@ blt image convert ./photo.jpg --quality 90 --output ./photo.webp
97
77
  ```
98
78
 
99
79
  **Options:**
100
- - `-o, --output <path>`: Output file or directory (default: same location as input)
101
- - `-q, --quality <quality>`: WebP quality 0-100 (default: 80)
102
- - `-r, --recursive`: Process directories recursively
103
- - `--overwrite`: Overwrite existing files
104
80
 
105
- #### `blt image sharpen <input>`
81
+ - `-o, --output <path>` — Output file or directory (default: same as input)
82
+ - `-q, --quality <quality>` — WebP quality 0–100 (default: 80)
83
+ - `-r, --recursive` — Process directories recursively
84
+ - `--overwrite` — Overwrite existing files
85
+
86
+ ### `blt image sharpen <input>`
106
87
 
107
- Sharpen image edges
88
+ Sharpen image edges.
108
89
 
109
90
  ```bash
110
91
  blt image sharpen ./photo.jpg
@@ -112,16 +93,17 @@ blt image sharpen ./images/ --recursive
112
93
  ```
113
94
 
114
95
  **Options:**
115
- - `-o, --output <path>`: Output file or directory (default: same location as input)
116
- - `-s, --sigma <sigma>`: Sigma value for sharpening 0.3-1000 (default: 1.0)
117
- - `-f, --flat <flat>`: Flat threshold 0-10000 (default: 1.0)
118
- - `-j, --jagged <jagged>`: Jagged threshold 0-10000 (default: 2.0)
119
- - `-r, --recursive`: Process directories recursively
120
- - `--overwrite`: Overwrite existing files
121
96
 
122
- #### `blt image enhance <input>`
97
+ - `-o, --output <path>` — Output file or directory
98
+ - `-s, --sigma <sigma>` — Sigma for sharpening 0.3–1000 (default: 1.0)
99
+ - `-f, --flat <flat>` — Flat threshold 0–10000 (default: 1.0)
100
+ - `-j, --jagged <jagged>` — Jagged threshold 0–10000 (default: 2.0)
101
+ - `-r, --recursive` — Process directories recursively
102
+ - `--overwrite` — Overwrite existing files
103
+
104
+ ### `blt image enhance <input>`
123
105
 
124
- Enhance avatar images for dark or light mode
106
+ Enhance avatar images for dark or light mode.
125
107
 
126
108
  ```bash
127
109
  blt image enhance ./avatar.jpg --mode dark
@@ -129,13 +111,14 @@ blt image enhance ./avatar.jpg --mode light --quality 95
129
111
  ```
130
112
 
131
113
  **Options:**
132
- - `-m, --mode <mode>`: Enhancement mode: `dark` or `light` (default: dark)
133
- - `-o, --output <path>`: Output file path (default: overwrites input)
134
- - `-q, --quality <quality>`: WebP quality 0-100 (default: 90)
135
114
 
136
- #### `blt image color <input>`
115
+ - `-m, --mode <mode>` — `dark` or `light` (default: dark)
116
+ - `-o, --output <path>` — Output path (default: overwrites input)
117
+ - `-q, --quality <quality>` — WebP quality 0–100 (default: 90)
137
118
 
138
- Change the base color of an image
119
+ ### `blt image color <input>`
120
+
121
+ Change the base color of an image.
139
122
 
140
123
  ```bash
141
124
  blt image color ./logo.png --to blue
@@ -143,50 +126,107 @@ blt image color ./logo.png --from red --to blue --tolerance 30
143
126
  ```
144
127
 
145
128
  **Options:**
146
- - `-t, --to <color>`: Target color (hex, rgb, or color name)
147
- - `-f, --from <color>`: Source color to replace (hex, rgb, or color name). If not specified, detects dominant color
148
- - `-o, --output <path>`: Output file path (default: overwrites input)
149
- - `-q, --quality <quality>`: WebP quality 0-100 (default: 90)
150
- - `-z, --tolerance <tolerance>`: Color matching tolerance 0-100 (default: 30)
151
129
 
152
- ### Version Commands
130
+ - `-t, --to <color>` — Target color (hex, rgb, or name)
131
+ - `-f, --from <color>` — Source color to replace; if omitted, dominant color is used
132
+ - `-o, --output <path>` — Output path (default: overwrites input)
133
+ - `-q, --quality <quality>` — WebP quality 0–100 (default: 90)
134
+ - `-z, --tolerance <tolerance>` — Color matching tolerance 0–100 (default: 30)
135
+
136
+ ---
137
+
138
+ ## PDF Commands
139
+
140
+ PDF manipulation uses the `blt pdf` namespace. Inputs can be files and/or directories (optionally recursive). Non-PDF files are skipped with a warning. Files are processed in alphabetical order.
141
+
142
+ **Dependency:** `pdf-lib`. If needed: `bun install` (or `npm install`).
143
+
144
+ ### `blt pdf binder <output> <inputs...>`
145
+
146
+ Combine multiple PDFs into a single document.
147
+
148
+ ```bash
149
+ # Two files
150
+ blt pdf binder output.pdf file1.pdf file2.pdf
151
+
152
+ # All PDFs in a directory
153
+ blt pdf binder output.pdf /path/to/pdfs/
154
+
155
+ # Mix files and directories (recursive)
156
+ blt pdf binder output.pdf file1.pdf /path/to/pdfs/ file2.pdf -r
157
+
158
+ # Overwrite existing output
159
+ blt pdf binder output.pdf *.pdf --overwrite
160
+ ```
161
+
162
+ **Arguments:**
163
+
164
+ - `<output>` — Output PDF path
165
+ - `<inputs...>` — Input files and/or directories (can be mixed)
166
+
167
+ **Options:**
168
+
169
+ - `-r, --recursive` — Process directories recursively
170
+ - `--overwrite` — Overwrite existing output file
171
+
172
+ **Behavior:** Mix files and directories; non-PDFs skipped with a warning; progress and total page/file count are shown.
153
173
 
154
- #### `blt version`
174
+ ### `blt pdf folio <output> <inputs...>`
155
175
 
156
- Show version management help
176
+ Create a folio with automatic page numbers and an optional table of contents.
157
177
 
158
178
  ```bash
159
- blt version
179
+ # Folio with TOC and page numbers
180
+ blt pdf folio report.pdf *.pdf
181
+
182
+ # Start page number at 10
183
+ blt pdf folio report.pdf chapter1.pdf chapter2.pdf --start-page 10
184
+
185
+ # No table of contents
186
+ blt pdf folio report.pdf /path/to/pdfs/ --no-toc
187
+
188
+ # Recursive directories
189
+ blt pdf folio complete.pdf /docs/ /appendices/ -r
160
190
  ```
161
191
 
162
- #### `blt version update`
192
+ **Arguments:**
193
+
194
+ - `<output>` — Output PDF path
195
+ - `<inputs...>` — Input files and/or directories (can be mixed)
196
+
197
+ **Options:**
198
+
199
+ - `-r, --recursive` — Process directories recursively
200
+ - `--overwrite` — Overwrite existing output file
201
+ - `--no-toc` — Skip table of contents
202
+ - `--start-page <number>` — First page number (default: 1)
203
+
204
+ **Behavior:** Page numbers at bottom center; TOC at start (unless `--no-toc`) with document names and starting pages; professional formatting. Page numbers use light gray (50% opacity). TOC auto-sized (~40 entries per page). `.DS_Store` and hidden files are skipped.
205
+
206
+ **Technical:** Uses `pdf-lib` (^1.17.1). Shell wildcards (e.g. `*.pdf`) and special characters in filenames are supported.
163
207
 
164
- Update `version.json` with current build information
208
+ ---
209
+
210
+ ## Version Commands
211
+
212
+ ### `blt version update`
213
+
214
+ Create or update `version.json` in the current directory with build information.
165
215
 
166
216
  ```bash
167
217
  blt version update
168
218
  ```
169
219
 
170
- This command:
171
- - Creates `version.json` if it doesn't exist
172
- - Updates existing `version.json` with current information
173
- - Works from any directory (uses current working directory)
174
- - Detects component name from `package.json`
175
- - Generates a unique build number for each update
176
- - Includes git commit, branch, and build timestamp
177
- - Captures runtime and package manager versions
220
+ Fills in: build number (from build-number-generator), component name (from `package.json`), component version, runtime (Bun/Node), git commit and branch, build timestamp, package manager info.
178
221
 
179
- **Example `version.json` output:**
222
+ **Example `version.json`:**
180
223
 
181
224
  ```json
182
225
  {
183
226
  "buildnum": "260115212",
184
227
  "component": "cli",
185
228
  "version": "1.1.0",
186
- "runtime": {
187
- "type": "bun",
188
- "version": "1.3.4"
189
- },
229
+ "runtime": { "type": "bun", "version": "1.3.4" },
190
230
  "build": {
191
231
  "commit": "c79d284f8d2a3df00af85740cc64010587d12b08",
192
232
  "branch": "main",
@@ -199,40 +239,260 @@ This command:
199
239
  }
200
240
  ```
201
241
 
202
- **Version.json Fields:**
242
+ **Component mapping:** `@codemarc/blt` / `blt-cli` → `cli`; `blt-core-pos` → `pos`; `blt-core-devops` → `devops`; `data` → `data`; `deploy` → `deploy`; `gateway` → `gateway`.
203
243
 
204
- - `buildnum`: Unique build number generated using `build-number-generator` (e.g., "260115212")
205
- - `component`: Component name (cli, data, pos, devops, deploy, gateway)
206
- - `version`: Semantic version from `package.json`
207
- - `runtime.type`: Runtime type ("bun" or "node")
208
- - `runtime.version`: Runtime version (e.g., "1.3.4" for Bun, "v25.2.1" for Node)
209
- - `build.commit`: Full git commit hash
210
- - `build.branch`: Current git branch name
211
- - `build.time`: ISO 8601 timestamp of when version.json was updated
212
- - `metadata.packageManager`: Package manager name ("bun" or "npm")
213
- - `metadata.packageManagerVersion`: Package manager version
244
+ ### `blt version string`
214
245
 
215
- The command automatically detects the component name from your `package.json`:
216
- - `@codemarc/blt` or `blt-cli` → `cli`
217
- - `blt-core-pos` → `pos`
218
- - `blt-core-devops` → `devops`
219
- - `data` → `data`
220
- - `deploy` → `deploy`
221
- - `gateway` → `gateway`
246
+ Print version as a formatted string.
222
247
 
223
- ## Environment Variables
248
+ ```bash
249
+ blt version string
250
+ blt version string --short
251
+ blt version string --full --date
252
+ ```
253
+
254
+ **Options:** `-d, --date`, `-o, --only`, `-s, --short`, `-f, --full`.
255
+
256
+ ### `blt version sql`
257
+
258
+ Generate SQL to upsert `version.json` into the settings table.
259
+
260
+ ```bash
261
+ blt version sql
262
+ ```
263
+
264
+ ---
265
+
266
+ ## Build Commands
267
+
268
+ ### `blt build schema [name]`
269
+
270
+ Build schema from DDL files.
271
+
272
+ ```bash
273
+ blt build schema
274
+ blt build schema my_schema
275
+ ```
276
+
277
+ ### `blt build data [name]`
278
+
279
+ Build data from instance directory.
280
+
281
+ ```bash
282
+ blt build data
283
+ blt build data my_instance
284
+ ```
224
285
 
225
- ### Environment Checking
286
+ ---
226
287
 
227
- - `SMASH_KEY`: Required for certain operations (checked by `blt check`)
288
+ ## Deploy Commands
228
289
 
229
- The `blt check` command looks for a `.env` file in the current directory and verifies environment variable configuration.
290
+ ### `blt deploy schema [name]`
291
+
292
+ Deploy schema from .sql files.
293
+
294
+ ```bash
295
+ blt deploy schema
296
+ blt deploy schema my_schema
297
+ ```
298
+
299
+ ### `blt deploy data [name]`
300
+
301
+ Deploy data instance from .sql files.
302
+
303
+ ```bash
304
+ blt deploy data
305
+ blt deploy data my_instance
306
+ ```
307
+
308
+ ### `blt deploy sql <file>`
309
+
310
+ Run a single SQL file against the database.
311
+
312
+ ```bash
313
+ blt deploy sql ./migrations/001_init.sql
314
+ ```
315
+
316
+ ---
317
+
318
+ ## Bucket Commands (Supabase Storage)
319
+
320
+ ### `blt bucket names`
321
+
322
+ List all bucket names.
323
+
324
+ ```bash
325
+ blt bucket names
326
+ blt bucket names --format json
327
+ ```
328
+
329
+ **Options:** `-f, --format <format>` — `table` or `json` (default: table).
330
+
331
+ ### `blt bucket list <bucket-name>`
332
+
333
+ List files in a bucket.
334
+
335
+ ```bash
336
+ blt bucket list my-bucket
337
+ blt bucket list my-bucket --prefix path/ --limit 50
338
+ ```
339
+
340
+ **Options:**
341
+
342
+ - `-p, --prefix <prefix>` — Path/prefix filter (default: "")
343
+ - `-l, --limit <limit>` — Max results (default: 100)
344
+ - `-f, --format <format>` — `table` or `json` (default: table).
345
+
346
+ ### `blt bucket upload <bucket-name> <local-path> <remote-path>`
347
+
348
+ Upload a file.
349
+
350
+ ```bash
351
+ blt bucket upload my-bucket ./local.pdf docs/file.pdf
352
+ blt bucket upload my-bucket ./local.pdf docs/file.pdf --upsert
353
+ ```
354
+
355
+ **Options:** `--upsert` — Overwrite if exists (default: false).
356
+
357
+ ### `blt bucket upload-folder <bucket-name> <local-folder>`
358
+
359
+ Upload all files in a folder.
360
+
361
+ ```bash
362
+ blt bucket upload-folder my-bucket ./public/
363
+ blt bucket upload-folder my-bucket ./public/ -r prefix/
364
+ blt bucket upload-folder my-bucket ./public/ --dry-run
365
+ ```
366
+
367
+ **Options:**
368
+
369
+ - `-r, --remote-prefix <prefix>` — Remote path prefix (default: "")
370
+ - `--upsert` — Overwrite existing files (default: true)
371
+ - `--dry-run` — Show what would be uploaded without uploading.
372
+
373
+ ### `blt bucket download <bucket-name> <remote-path> <local-path>`
374
+
375
+ Download a file.
376
+
377
+ ```bash
378
+ blt bucket download my-bucket docs/file.pdf ./local.pdf
379
+ ```
380
+
381
+ ### `blt bucket url <bucket-name> <remote-path>`
382
+
383
+ Get public or signed URL for a file.
384
+
385
+ ```bash
386
+ blt bucket url my-bucket docs/file.pdf
387
+ blt bucket url my-bucket docs/file.pdf --signed --expires-in 7200
388
+ ```
389
+
390
+ **Options:**
391
+
392
+ - `--signed` — Generate signed URL (default: false)
393
+ - `--expires-in <seconds>` — Signed URL expiry (default: 3600).
394
+
395
+ ---
396
+
397
+ ## Show Commands
398
+
399
+ ### `blt show schema [schema-name]`
400
+
401
+ Schema information.
402
+
403
+ ```bash
404
+ blt show schema
405
+ blt show schema core
406
+ blt show schema --format json
407
+ ```
408
+
409
+ **Options:** `-f, --format <format>` — `table` or `json` (default: table).
410
+
411
+ ### `blt show counts`
412
+
413
+ Row counts for all tables.
414
+
415
+ ```bash
416
+ blt show counts
417
+ ```
418
+
419
+ ### `blt show env`
420
+
421
+ Display BLT core environment variables.
422
+
423
+ ```bash
424
+ blt show env
425
+ ```
426
+
427
+ ### `blt show db`
428
+
429
+ Display version from database (same format as version string).
430
+
431
+ ```bash
432
+ blt show db
433
+ blt show db --short
434
+ blt show db --full --date
435
+ ```
436
+
437
+ **Options:** `-d, --date`, `-o, --only`, `-s, --short`, `-f, --full`.
438
+
439
+ ### `blt show repo`
440
+
441
+ List valid repositories in the current working set.
442
+
443
+ ```bash
444
+ blt show repo
445
+ blt show repo --ssh
446
+ ```
447
+
448
+ **Options:** `-s, --ssh` — Show SSH URLs instead of HTTPS.
449
+
450
+ ---
451
+
452
+ ## Cleanup Commands
453
+
454
+ ### `blt cleanup generated`
455
+
456
+ Remove generated SQL files and instance SQL directories.
457
+
458
+ ```bash
459
+ blt cleanup generated
460
+ blt cleanup generated -i instance1 -i instance2
461
+ blt cleanup generated --all
462
+ ```
463
+
464
+ **Options:**
465
+
466
+ - `-i, --instance <instance>` — Instance to clean (repeatable)
467
+ - `-a, --all` — Clean all instances.
468
+
469
+ ### `blt cleanup tags <instance>`
470
+
471
+ Clean infrequently used tags in YAML files.
472
+
473
+ ```bash
474
+ blt cleanup tags default
475
+ blt cleanup tags joanne --min-count 2 --dry-run
476
+ ```
477
+
478
+ **Options:**
479
+
480
+ - `-m, --min-count <count>` — Minimum tag count to keep (default: 4)
481
+ - `-d, --dry-run` — Show changes without modifying files.
482
+
483
+ ---
484
+
485
+ ## Environment Variables
486
+
487
+ Bucket and database operations typically use Supabase configuration (e.g. from `.env`). The `blt show env` command displays BLT core environment variables.
488
+
489
+ ---
230
490
 
231
491
  ## Troubleshooting
232
492
 
233
- ### Sharp library errors (image commands)
493
+ ### Image commands (Sharp)
234
494
 
235
- Sharp is an optional dependency. Install manually if needed:
495
+ Sharp is an optional dependency. If image commands fail, install it:
236
496
 
237
497
  ```bash
238
498
  bun add sharp
@@ -240,11 +500,17 @@ bun add sharp
240
500
  npm install sharp
241
501
  ```
242
502
 
503
+ ### PDF commands
504
+
505
+ Ensure `pdf-lib` is installed: `bun install` (or `npm install`). The CLI uses `pdf-lib` ^1.17.1 and works with the Bun runtime.
506
+
507
+ ---
508
+
243
509
  ## Development
244
510
 
245
- This package is built with TypeScript and uses Bun as the runtime.
511
+ Built with TypeScript and Bun.
246
512
 
247
- ### Building from Source
513
+ ### Build from source
248
514
 
249
515
  ```bash
250
516
  git clone https://github.com/codemarc/blt-cli.git
@@ -254,48 +520,26 @@ bun run build
254
520
  bun link
255
521
  ```
256
522
 
257
- The build process automatically:
258
- - Compiles TypeScript to JavaScript
259
- - Updates `version.json` with current build information
260
- - Sets execute permissions on the built binary
261
-
262
- ### Running in Development
263
-
264
- You can run the CLI directly from source using Bun:
265
-
266
- ```bash
267
- bun run src/blt.ts check
268
- ```
269
-
270
- ### Version Management
271
-
272
- The CLI includes a postbuild script that automatically updates `version.json` after each build. The build number is automatically generated and incremented on each update.
523
+ Build compiles TypeScript, updates `version.json`, and sets execute permissions on the binary.
273
524
 
274
- You can manually update version information:
525
+ ### Run from source
275
526
 
276
527
  ```bash
277
- # From any directory (updates version.json in current directory)
278
- blt version update
279
-
280
- # Or from the CLI project directory, run the script directly
281
- bun run src/commands/version/update.ts
528
+ bun run src/blt.ts image convert ./photo.jpg
529
+ bun run src/blt.ts pdf binder output.pdf a.pdf b.pdf
282
530
  ```
283
531
 
284
- **Note:** The `blt version update` command works from any directory. It will:
285
- - Read `package.json` from the current directory
286
- - Create or update `version.json` in the current directory
287
- - Use git information from the current directory's repository
288
- - Generate a new build number for each update
289
-
290
- ### Testing
532
+ ### Tests
291
533
 
292
534
  ```bash
293
535
  bun test
294
536
  ```
295
537
 
538
+ ---
539
+
296
540
  ## License
297
541
 
298
- MIT License - see [LICENSE](LICENSE) file for details.
542
+ MIT License see [LICENSE](LICENSE).
299
543
 
300
544
  ## Author
301
545
 
@@ -307,4 +551,4 @@ https://github.com/codemarc/blt-cli
307
551
 
308
552
  ## Support
309
553
 
310
- For issues and questions: https://github.com/codemarc/blt-cli/issues
554
+ https://github.com/codemarc/blt-cli/issues
@@ -0,0 +1,10 @@
1
+ import type { Logger } from "@caporal/core";
2
+ export interface CleanupGeneratedOptions {
3
+ instance?: string;
4
+ all?: boolean;
5
+ }
6
+ /**
7
+ * Cleanup generated SQL files and combined schema files
8
+ */
9
+ export declare function cleanupGenerated(options: CleanupGeneratedOptions, _logger: Logger): Promise<void>;
10
+ //# sourceMappingURL=generated.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"generated.d.ts","sourceRoot":"","sources":["../../../src/commands/cleanup/generated.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAE5C,MAAM,WAAW,uBAAuB;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,OAAO,CAAC;CACd;AAED;;GAEG;AACH,wBAAsB,gBAAgB,CACrC,OAAO,EAAE,uBAAuB,EAChC,OAAO,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CA+Bf"}