Skip to content

Commit 8ae7772

Browse files
committed
Remove minimist; Expose export options to cli
1 parent d0ec6e0 commit 8ae7772

20 files changed

+149
-123
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ Matching criteria specified as string or regex
3636

3737
#### Defined in
3838

39-
[src/field-mappings.ts:8](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/field-mappings.ts#L8)
39+
[src/field-mappings.ts:8](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/field-mappings.ts#L8)

docs/classes/Generator.md

Lines changed: 37 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ and custom logic for table/column/field mapping.
8383

8484
#### Defined in
8585

86-
[src/generator.ts:79](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L79)
86+
[src/generator.ts:75](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L75)
8787

8888
## Properties
8989

@@ -93,7 +93,7 @@ and custom logic for table/column/field mapping.
9393

9494
#### Defined in
9595

96-
[src/generator.ts:92](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L92)
96+
[src/generator.ts:88](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L88)
9797

9898
___
9999

@@ -103,7 +103,7 @@ ___
103103

104104
#### Defined in
105105

106-
[src/generator.ts:84](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L84)
106+
[src/generator.ts:80](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L80)
107107

108108
___
109109

@@ -113,7 +113,7 @@ ___
113113

114114
#### Defined in
115115

116-
[src/generator.ts:88](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L88)
116+
[src/generator.ts:84](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L84)
117117

118118
___
119119

@@ -123,7 +123,7 @@ ___
123123

124124
#### Defined in
125125

126-
[src/generator.ts:77](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L77)
126+
[src/generator.ts:73](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L73)
127127

128128
___
129129

@@ -133,7 +133,7 @@ ___
133133

134134
#### Defined in
135135

136-
[src/generator.ts:74](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L74)
136+
[src/generator.ts:70](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L70)
137137

138138
___
139139

@@ -143,7 +143,7 @@ ___
143143

144144
#### Defined in
145145

146-
[src/generator.ts:73](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L73)
146+
[src/generator.ts:69](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L69)
147147

148148
___
149149

@@ -153,7 +153,7 @@ ___
153153

154154
#### Defined in
155155

156-
[src/generator.ts:76](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L76)
156+
[src/generator.ts:72](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L72)
157157

158158
## Methods
159159

@@ -174,7 +174,7 @@ ___
174174

175175
#### Defined in
176176

177-
[src/generator.ts:318](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L318)
177+
[src/generator.ts:318](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L318)
178178

179179
___
180180

@@ -200,7 +200,7 @@ ___
200200

201201
#### Defined in
202202

203-
[src/generator.ts:478](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L478)
203+
[src/generator.ts:478](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L478)
204204

205205
___
206206

@@ -225,7 +225,7 @@ ___
225225

226226
#### Defined in
227227

228-
[src/generator.ts:565](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L565)
228+
[src/generator.ts:565](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L565)
229229

230230
___
231231

@@ -245,7 +245,7 @@ ___
245245

246246
#### Defined in
247247

248-
[src/generator.ts:276](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L276)
248+
[src/generator.ts:276](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L276)
249249

250250
___
251251

@@ -259,7 +259,7 @@ ___
259259

260260
#### Defined in
261261

262-
[src/generator.ts:97](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L97)
262+
[src/generator.ts:93](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L93)
263263

264264
___
265265

@@ -284,7 +284,7 @@ ___
284284

285285
#### Defined in
286286

287-
[src/generator.ts:141](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L141)
287+
[src/generator.ts:141](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L141)
288288

289289
___
290290

@@ -305,7 +305,7 @@ ___
305305

306306
#### Defined in
307307

308-
[src/generator.ts:379](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L379)
308+
[src/generator.ts:379](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L379)
309309

310310
___
311311

@@ -326,7 +326,7 @@ ___
326326

327327
#### Defined in
328328

329-
[src/generator.ts:299](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L299)
329+
[src/generator.ts:299](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L299)
330330

331331
___
332332

@@ -346,7 +346,7 @@ ___
346346

347347
#### Defined in
348348

349-
[src/generator.ts:447](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L447)
349+
[src/generator.ts:447](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L447)
350350

351351
___
352352

@@ -367,7 +367,7 @@ ___
367367

368368
#### Defined in
369369

370-
[src/generator.ts:407](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L407)
370+
[src/generator.ts:407](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L407)
371371

372372
___
373373

@@ -388,7 +388,7 @@ ___
388388

389389
#### Defined in
390390

391-
[src/generator.ts:427](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L427)
391+
[src/generator.ts:427](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L427)
392392

393393
___
394394

@@ -408,7 +408,7 @@ ___
408408

409409
#### Defined in
410410

411-
[src/generator.ts:288](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L288)
411+
[src/generator.ts:288](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L288)
412412

413413
___
414414

@@ -434,7 +434,7 @@ ___
434434

435435
#### Defined in
436436

437-
[src/generator.ts:509](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L509)
437+
[src/generator.ts:509](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L509)
438438

439439
___
440440

@@ -460,7 +460,7 @@ ___
460460

461461
#### Defined in
462462

463-
[src/generator.ts:523](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L523)
463+
[src/generator.ts:523](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L523)
464464

465465
___
466466

@@ -485,7 +485,7 @@ ___
485485

486486
#### Defined in
487487

488-
[src/generator.ts:264](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L264)
488+
[src/generator.ts:264](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L264)
489489

490490
___
491491

@@ -507,7 +507,7 @@ ___
507507

508508
#### Defined in
509509

510-
[src/generator.ts:365](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L365)
510+
[src/generator.ts:365](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L365)
511511

512512
___
513513

@@ -528,7 +528,7 @@ ___
528528

529529
#### Defined in
530530

531-
[src/generator.ts:419](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L419)
531+
[src/generator.ts:419](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L419)
532532

533533
___
534534

@@ -554,7 +554,7 @@ ___
554554

555555
#### Defined in
556556

557-
[src/generator.ts:561](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L561)
557+
[src/generator.ts:561](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L561)
558558

559559
___
560560

@@ -580,7 +580,7 @@ ___
580580

581581
#### Defined in
582582

583-
[src/generator.ts:556](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L556)
583+
[src/generator.ts:556](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L556)
584584

585585
___
586586

@@ -600,7 +600,7 @@ ___
600600

601601
#### Defined in
602602

603-
[src/generator.ts:443](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L443)
603+
[src/generator.ts:443](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L443)
604604

605605
___
606606

@@ -620,7 +620,7 @@ ___
620620

621621
#### Defined in
622622

623-
[src/generator.ts:415](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L415)
623+
[src/generator.ts:415](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L415)
624624

625625
___
626626

@@ -645,7 +645,7 @@ ___
645645

646646
#### Defined in
647647

648-
[src/generator.ts:133](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L133)
648+
[src/generator.ts:133](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L133)
649649

650650
___
651651

@@ -666,7 +666,7 @@ ___
666666

667667
#### Defined in
668668

669-
[src/generator.ts:338](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L338)
669+
[src/generator.ts:338](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L338)
670670

671671
___
672672

@@ -692,7 +692,7 @@ ___
692692

693693
#### Defined in
694694

695-
[src/generator.ts:494](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L494)
695+
[src/generator.ts:494](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L494)
696696

697697
___
698698

@@ -718,7 +718,7 @@ ___
718718

719719
#### Defined in
720720

721-
[src/generator.ts:451](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L451)
721+
[src/generator.ts:451](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L451)
722722

723723
___
724724

@@ -744,7 +744,7 @@ ___
744744

745745
#### Defined in
746746

747-
[src/generator.ts:462](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L462)
747+
[src/generator.ts:462](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L462)
748748

749749
___
750750

@@ -770,7 +770,7 @@ ___
770770

771771
#### Defined in
772772

773-
[src/generator.ts:403](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L403)
773+
[src/generator.ts:403](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L403)
774774

775775
___
776776

@@ -790,7 +790,7 @@ ___
790790

791791
#### Defined in
792792

793-
[src/generator.ts:399](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L399)
793+
[src/generator.ts:399](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L399)
794794

795795
___
796796

@@ -815,4 +815,4 @@ ___
815815

816816
#### Defined in
817817

818-
[src/generator.ts:113](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator.ts#L113)
818+
[src/generator.ts:113](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator.ts#L113)

docs/interfaces/CommonCustomTypesOptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ z.TypeOf.importPath
3030

3131
#### Defined in
3232

33-
[src/generator-options.ts:241](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator-options.ts#L241)
33+
[src/generator-options.ts:241](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator-options.ts#L241)
3434

35-
[src/generator-options.ts:241](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator-options.ts#L241)
35+
[src/generator-options.ts:241](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator-options.ts#L241)

docs/interfaces/CommonOptions.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ z.TypeOf.customTypes
3232

3333
#### Defined in
3434

35-
[src/generator-options.ts:249](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator-options.ts#L249)
35+
[src/generator-options.ts:249](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator-options.ts#L249)
3636

3737
___
3838

@@ -50,7 +50,7 @@ z.TypeOf.primaryKey
5050

5151
#### Defined in
5252

53-
[src/generator-options.ts:255](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator-options.ts#L255)
53+
[src/generator-options.ts:255](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator-options.ts#L255)
5454

5555
___
5656

@@ -68,4 +68,4 @@ z.TypeOf.typeAdapter
6868

6969
#### Defined in
7070

71-
[src/generator-options.ts:252](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator-options.ts#L252)
71+
[src/generator-options.ts:252](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator-options.ts#L252)

docs/interfaces/CommonPrimaryKeyOptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ z.TypeOf.isAutoGenerated
2929

3030
#### Defined in
3131

32-
[src/generator-options.ts:229](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator-options.ts#L229)
32+
[src/generator-options.ts:229](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator-options.ts#L229)
3333

3434
___
3535

@@ -45,4 +45,4 @@ z.TypeOf.name
4545

4646
#### Defined in
4747

48-
[src/generator-options.ts:225](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator-options.ts#L225)
48+
[src/generator-options.ts:225](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator-options.ts#L225)

docs/interfaces/CommonTypeAdapterOptions.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,6 @@ z.TypeOf.importPath
2929

3030
#### Defined in
3131

32-
[src/generator-options.ts:201](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator-options.ts#L201)
32+
[src/generator-options.ts:201](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator-options.ts#L201)
3333

34-
[src/generator-options.ts:201](https://github.com/lorefnon/ts-sql-codegen/blob/fc68de2/src/generator-options.ts#L201)
34+
[src/generator-options.ts:201](https://github.com/lorefnon/ts-sql-codegen/blob/d0ec6e0/src/generator-options.ts#L201)

0 commit comments

Comments
 (0)