politty 0.4.4 → 0.4.6
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/dist/{arg-registry-BUUhZ7JR.d.ts → arg-registry-2m40k1Et.d.ts} +1 -1
- package/dist/{arg-registry-BUUhZ7JR.d.ts.map → arg-registry-2m40k1Et.d.ts.map} +1 -1
- package/dist/augment.d.ts +1 -1
- package/dist/completion/index.cjs +16 -168
- package/dist/completion/index.d.cts +2 -77
- package/dist/completion/index.d.ts +2 -77
- package/dist/completion/index.js +3 -154
- package/dist/{zsh-DR47Ccac.cjs → completion-Df0eZ70u.cjs} +230 -18
- package/dist/completion-Df0eZ70u.cjs.map +1 -0
- package/dist/{zsh-XbRzR8FW.js → completion-_AnQsWh9.js} +202 -8
- package/dist/completion-_AnQsWh9.js.map +1 -0
- package/dist/docs/index.cjs +274 -28
- package/dist/docs/index.cjs.map +1 -1
- package/dist/docs/index.d.cts +62 -7
- package/dist/docs/index.d.cts.map +1 -1
- package/dist/docs/index.d.ts +62 -7
- package/dist/docs/index.d.ts.map +1 -1
- package/dist/docs/index.js +269 -29
- package/dist/docs/index.js.map +1 -1
- package/dist/{value-completion-resolver-BQgHsX7b.d.cts → index-BZalbMeu.d.ts} +83 -4
- package/dist/index-BZalbMeu.d.ts.map +1 -0
- package/dist/{value-completion-resolver-C9LTGr0O.d.ts → index-C5-0RXiH.d.cts} +83 -4
- package/dist/index-C5-0RXiH.d.cts.map +1 -0
- package/dist/index.cjs +8 -7
- package/dist/index.d.cts +67 -13
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +68 -14
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -5
- package/dist/{lazy-BEDnSR0m.cjs → lazy-DHlvJiQQ.cjs} +44 -8
- package/dist/lazy-DHlvJiQQ.cjs.map +1 -0
- package/dist/{lazy-BrEg8SgI.js → lazy-DSyfzR-F.js} +38 -8
- package/dist/lazy-DSyfzR-F.js.map +1 -0
- package/dist/{runner-C4fSHJMe.cjs → runner-C1Aah5c5.cjs} +365 -23
- package/dist/runner-C1Aah5c5.cjs.map +1 -0
- package/dist/{runner-D6k4BgB4.js → runner-DjG0uBxQ.js} +365 -23
- package/dist/runner-DjG0uBxQ.js.map +1 -0
- package/dist/{schema-extractor-n9288WJ6.d.ts → schema-extractor-C9APqeSL.d.ts} +30 -3
- package/dist/schema-extractor-C9APqeSL.d.ts.map +1 -0
- package/dist/{schema-extractor-DFaAZzaY.d.cts → schema-extractor-CVf0J4An.d.cts} +29 -2
- package/dist/schema-extractor-CVf0J4An.d.cts.map +1 -0
- package/dist/{subcommand-router-CAzBsLSI.js → subcommand-router-CKuy6D2b.js} +2 -2
- package/dist/{subcommand-router-CAzBsLSI.js.map → subcommand-router-CKuy6D2b.js.map} +1 -1
- package/dist/{subcommand-router-ZjNjFaUL.cjs → subcommand-router-sZHhUP7b.cjs} +2 -2
- package/dist/{subcommand-router-ZjNjFaUL.cjs.map → subcommand-router-sZHhUP7b.cjs.map} +1 -1
- package/package.json +9 -9
- package/dist/completion/index.cjs.map +0 -1
- package/dist/completion/index.d.cts.map +0 -1
- package/dist/completion/index.d.ts.map +0 -1
- package/dist/completion/index.js.map +0 -1
- package/dist/lazy-BEDnSR0m.cjs.map +0 -1
- package/dist/lazy-BrEg8SgI.js.map +0 -1
- package/dist/runner-C4fSHJMe.cjs.map +0 -1
- package/dist/runner-D6k4BgB4.js.map +0 -1
- package/dist/schema-extractor-DFaAZzaY.d.cts.map +0 -1
- package/dist/schema-extractor-n9288WJ6.d.ts.map +0 -1
- package/dist/value-completion-resolver-BQgHsX7b.d.cts.map +0 -1
- package/dist/value-completion-resolver-C9LTGr0O.d.ts.map +0 -1
- package/dist/zsh-DR47Ccac.cjs.map +0 -1
- package/dist/zsh-XbRzR8FW.js.map +0 -1
package/dist/docs/index.d.cts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import { E as SubCommandValue, n as ResolvedFieldMeta, p as Example, s as AnyCommand, t as ExtractedFields } from "../schema-extractor-DFaAZzaY.cjs";
|
|
1
|
+
import { O as SubCommandValue, c as AnyCommand, l as ArgsSchema, m as Example, n as ResolvedFieldMeta, t as ExtractedFields } from "../schema-extractor-CVf0J4An.cjs";
|
|
3
2
|
import { z } from "zod";
|
|
4
3
|
import * as fs from "node:fs";
|
|
5
4
|
|
|
@@ -93,6 +92,10 @@ interface CommandInfo {
|
|
|
93
92
|
examples?: Example[] | undefined;
|
|
94
93
|
/** Example execution results (populated when examples are executed) */
|
|
95
94
|
exampleResults?: ExampleExecutionResult[] | undefined;
|
|
95
|
+
/** Path to root document file (for global options link generation) */
|
|
96
|
+
rootDocPath?: string | undefined;
|
|
97
|
+
/** Whether global options exist (for global options link generation) */
|
|
98
|
+
hasGlobalOptions?: boolean;
|
|
96
99
|
}
|
|
97
100
|
/**
|
|
98
101
|
* Subcommand information
|
|
@@ -305,6 +308,35 @@ interface RootDocConfig {
|
|
|
305
308
|
/** Index section rendering options */
|
|
306
309
|
index?: CommandIndexOptions;
|
|
307
310
|
}
|
|
311
|
+
/**
|
|
312
|
+
* Root command customization for the root document.
|
|
313
|
+
* Controls the root document's title, description, header, and footer.
|
|
314
|
+
*/
|
|
315
|
+
interface RootCommandInfo {
|
|
316
|
+
/** Title (defaults to command.name) */
|
|
317
|
+
title?: string;
|
|
318
|
+
/** Description (defaults to command.description) */
|
|
319
|
+
description?: string;
|
|
320
|
+
/** Markdown placed after title/description */
|
|
321
|
+
header?: string;
|
|
322
|
+
/** Markdown placed at end of document */
|
|
323
|
+
footer?: string;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Path configuration for documentation output.
|
|
327
|
+
* Simpler alternative to FileMapping for common patterns.
|
|
328
|
+
*
|
|
329
|
+
* @example
|
|
330
|
+
* // All commands in one file
|
|
331
|
+
* path: "docs/CLI.md"
|
|
332
|
+
*
|
|
333
|
+
* // Split files: root + specific commands in separate files
|
|
334
|
+
* path: { root: "docs/CLI.md", commands: { "build": "docs/build.md" } }
|
|
335
|
+
*/
|
|
336
|
+
type PathConfig = string | {
|
|
337
|
+
root: string;
|
|
338
|
+
commands?: Record<string, string>;
|
|
339
|
+
};
|
|
308
340
|
/**
|
|
309
341
|
* Per-file configuration with custom renderer
|
|
310
342
|
*/
|
|
@@ -317,6 +349,8 @@ interface FileConfig {
|
|
|
317
349
|
title?: string;
|
|
318
350
|
/** File description (added after title) */
|
|
319
351
|
description?: string;
|
|
352
|
+
/** Skip subcommand expansion (commands are used as-is). @internal */
|
|
353
|
+
noExpand?: boolean;
|
|
320
354
|
}
|
|
321
355
|
/**
|
|
322
356
|
* File mapping configuration
|
|
@@ -343,8 +377,15 @@ interface GenerateDocConfig {
|
|
|
343
377
|
* Title and description are derived from `command.name` and `command.description`.
|
|
344
378
|
*/
|
|
345
379
|
rootDoc?: RootDocConfig;
|
|
380
|
+
/**
|
|
381
|
+
* Path configuration (simpler alternative to files).
|
|
382
|
+
* Mutually exclusive with `files`.
|
|
383
|
+
*/
|
|
384
|
+
path?: PathConfig;
|
|
346
385
|
/** File output configuration (command path -> file mapping) */
|
|
347
|
-
files
|
|
386
|
+
files?: FileMapping;
|
|
387
|
+
/** Root command customization (title, description, header, footer) */
|
|
388
|
+
rootInfo?: RootCommandInfo;
|
|
348
389
|
/** Command paths to ignore (including their subcommands) */
|
|
349
390
|
ignores?: string[];
|
|
350
391
|
/** Default renderer options (used when render is not specified per file) */
|
|
@@ -359,6 +400,11 @@ interface GenerateDocConfig {
|
|
|
359
400
|
* The full document structure is used to maintain cross-file links.
|
|
360
401
|
*/
|
|
361
402
|
targetCommands?: string[];
|
|
403
|
+
/**
|
|
404
|
+
* Global args schema (runtime schema alternative).
|
|
405
|
+
* When provided, automatically derives `rootDoc.globalOptions` from this schema.
|
|
406
|
+
*/
|
|
407
|
+
globalArgs?: ArgsSchema;
|
|
362
408
|
}
|
|
363
409
|
/**
|
|
364
410
|
* generateDoc result
|
|
@@ -418,6 +464,18 @@ declare function globalOptionsStartMarker(): string;
|
|
|
418
464
|
* Generate end marker for a global options section
|
|
419
465
|
*/
|
|
420
466
|
declare function globalOptionsEndMarker(): string;
|
|
467
|
+
/**
|
|
468
|
+
* Marker prefix for root header sections in generated documentation
|
|
469
|
+
*/
|
|
470
|
+
declare const ROOT_HEADER_MARKER_PREFIX = "politty:root-header";
|
|
471
|
+
declare function rootHeaderStartMarker(): string;
|
|
472
|
+
declare function rootHeaderEndMarker(): string;
|
|
473
|
+
/**
|
|
474
|
+
* Marker prefix for root footer sections in generated documentation
|
|
475
|
+
*/
|
|
476
|
+
declare const ROOT_FOOTER_MARKER_PREFIX = "politty:root-footer";
|
|
477
|
+
declare function rootFooterStartMarker(): string;
|
|
478
|
+
declare function rootFooterEndMarker(): string;
|
|
421
479
|
/**
|
|
422
480
|
* Marker prefix for index sections in generated documentation
|
|
423
481
|
* Format: <!-- politty:index:<scope>:start --> ... <!-- politty:index:<scope>:end -->
|
|
@@ -512,9 +570,6 @@ declare function renderSubcommandsTableFromArray(subcommands: SubCommandInfo[],
|
|
|
512
570
|
* ```
|
|
513
571
|
*/
|
|
514
572
|
declare function renderExamplesDefault(examples: Example[], results?: ExampleExecutionResult[], opts?: ExamplesRenderOptions): string;
|
|
515
|
-
/**
|
|
516
|
-
* Create command renderer with options
|
|
517
|
-
*/
|
|
518
573
|
declare function createCommandRenderer(options?: DefaultRendererOptions): RenderFunction;
|
|
519
574
|
/**
|
|
520
575
|
* Default renderers presets
|
|
@@ -641,5 +696,5 @@ type CommandCategory = {
|
|
|
641
696
|
*/
|
|
642
697
|
declare function renderCommandIndex(command: AnyCommand, categories: CommandCategory[], options?: CommandIndexOptions): Promise<string>;
|
|
643
698
|
//#endregion
|
|
644
|
-
export { type ArgsShape, type ArgsTableOptions, type ArgumentsRenderContext, type ArgumentsRenderFunction, type CommandCategory, type CommandIndexOptions, type CommandInfo, type DefaultRendererOptions, type DeleteFileFs, type ExampleCommandConfig, type ExampleConfig, type ExampleExecutionResult, type ExamplesRenderContext, type ExamplesRenderFunction, type ExamplesRenderOptions, type FileConfig, type FileMapping, type FormatterFunction, GLOBAL_OPTIONS_MARKER_PREFIX, type GenerateDocConfig, type GenerateDocResult, type HeadingLevel, INDEX_MARKER_PREFIX, type OptionsRenderContext, type OptionsRenderFunction, type RenderContentOptions, type RenderFunction, type RootDocConfig, SECTION_MARKER_PREFIX, SECTION_TYPES, type SectionRenderFunction, type SectionType, type SimpleRenderContext, type SimpleRenderFunction, type SubCommandInfo, type SubcommandsRenderContext, type SubcommandsRenderFunction, type SubcommandsRenderOptions, UPDATE_GOLDEN_ENV, assertDocMatch, buildCommandInfo, collectAllCommands, compareWithExisting, createCommandRenderer, defaultRenderers, executeExamples, formatDiff, generateDoc, globalOptionsEndMarker, globalOptionsStartMarker, indexEndMarker, indexStartMarker, initDocFile, renderArgsTable, renderArgumentsList, renderArgumentsListFromArray, renderArgumentsTable, renderArgumentsTableFromArray, renderCommandIndex, renderExamplesDefault, renderOptionsList, renderOptionsListFromArray, renderOptionsTable, renderOptionsTableFromArray, renderSubcommandsTable, renderSubcommandsTableFromArray, renderUsage, resolveLazyCommand, sectionEndMarker, sectionStartMarker, writeFile };
|
|
699
|
+
export { type ArgsShape, type ArgsTableOptions, type ArgumentsRenderContext, type ArgumentsRenderFunction, type CommandCategory, type CommandIndexOptions, type CommandInfo, type DefaultRendererOptions, type DeleteFileFs, type ExampleCommandConfig, type ExampleConfig, type ExampleExecutionResult, type ExamplesRenderContext, type ExamplesRenderFunction, type ExamplesRenderOptions, type FileConfig, type FileMapping, type FormatterFunction, GLOBAL_OPTIONS_MARKER_PREFIX, type GenerateDocConfig, type GenerateDocResult, type HeadingLevel, INDEX_MARKER_PREFIX, type OptionsRenderContext, type OptionsRenderFunction, type PathConfig, ROOT_FOOTER_MARKER_PREFIX, ROOT_HEADER_MARKER_PREFIX, type RenderContentOptions, type RenderFunction, type RootCommandInfo, type RootDocConfig, SECTION_MARKER_PREFIX, SECTION_TYPES, type SectionRenderFunction, type SectionType, type SimpleRenderContext, type SimpleRenderFunction, type SubCommandInfo, type SubcommandsRenderContext, type SubcommandsRenderFunction, type SubcommandsRenderOptions, UPDATE_GOLDEN_ENV, assertDocMatch, buildCommandInfo, collectAllCommands, compareWithExisting, createCommandRenderer, defaultRenderers, executeExamples, formatDiff, generateDoc, globalOptionsEndMarker, globalOptionsStartMarker, indexEndMarker, indexStartMarker, initDocFile, renderArgsTable, renderArgumentsList, renderArgumentsListFromArray, renderArgumentsTable, renderArgumentsTableFromArray, renderCommandIndex, renderExamplesDefault, renderOptionsList, renderOptionsListFromArray, renderOptionsTable, renderOptionsTableFromArray, renderSubcommandsTable, renderSubcommandsTableFromArray, renderUsage, resolveLazyCommand, rootFooterEndMarker, rootFooterStartMarker, rootHeaderEndMarker, rootHeaderStartMarker, sectionEndMarker, sectionStartMarker, writeFile };
|
|
645
700
|
//# sourceMappingURL=index.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/executor/subcommand-router.ts","../../src/docs/render-args.ts","../../src/docs/types.ts","../../src/docs/default-renderers.ts","../../src/docs/doc-comparator.ts","../../src/docs/doc-generator.ts","../../src/docs/example-executor.ts","../../src/docs/golden-test.ts","../../src/docs/render-index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../../src/executor/subcommand-router.ts","../../src/docs/render-args.ts","../../src/docs/types.ts","../../src/docs/default-renderers.ts","../../src/docs/doc-comparator.ts","../../src/docs/doc-generator.ts","../../src/docs/example-executor.ts","../../src/docs/golden-test.ts","../../src/docs/render-index.ts"],"mappings":";;;;;;;;;;AASA;iBAAsB,kBAAA,CAAmB,GAAA,EAAK,eAAA,GAAkB,OAAA,CAAQ,UAAA;;;;;;;KCD5D,SAAA,GAAY,MAAA,SAAe,CAAA,CAAE,OAAA;ADCzC;;;AAAA,KCIY,gBAAA;EDJ4D,6DCMtE,OAAA;AAAA;;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,CAAQ,sBAAA;;;;;;iBCixCW,WAAA,CAAY,MAAA,EAAQ,iBAAA,GAAoB,OAAA,CAAQ,iBAAA;AP1xCtE;;;;AAAA,iBO2wDsB,cAAA,CAAe,MAAA,EAAQ,iBAAA,GAAoB,OAAA;;;;;;;;iBA6BjD,WAAA,CACd,MAAA,EAAQ,IAAA,CAAK,iBAAA,qBACb,UAAA,GAAa,YAAA;;;;;;KC9xDH,eAAA;ERZU,oDQcpB,KAAA;EAEA,WAAA,URhBsE;EQkBtE,QAAA,YRlBqE;EQoBrE,OAAA;AAAA;;;;;;;;APrBF;;;;;;;;;AAKA;;;;;AAyCA;;;;;;;;;iBOuGsB,kBAAA,CACpB,OAAA,EAAS,UAAA,EACT,UAAA,EAAY,eAAA,IACZ,OAAA,GAAU,mBAAA,GACT,OAAA"}
|
package/dist/docs/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import "../
|
|
2
|
-
import { E as SubCommandValue, n as ResolvedFieldMeta, p as Example, s as AnyCommand, t as ExtractedFields } from "../schema-extractor-n9288WJ6.js";
|
|
1
|
+
import { O as SubCommandValue, c as AnyCommand, l as ArgsSchema, m as Example, n as ResolvedFieldMeta, t as ExtractedFields } from "../schema-extractor-C9APqeSL.js";
|
|
3
2
|
import { z } from "zod";
|
|
4
3
|
import * as fs from "node:fs";
|
|
5
4
|
|
|
@@ -93,6 +92,10 @@ interface CommandInfo {
|
|
|
93
92
|
examples?: Example[] | undefined;
|
|
94
93
|
/** Example execution results (populated when examples are executed) */
|
|
95
94
|
exampleResults?: ExampleExecutionResult[] | undefined;
|
|
95
|
+
/** Path to root document file (for global options link generation) */
|
|
96
|
+
rootDocPath?: string | undefined;
|
|
97
|
+
/** Whether global options exist (for global options link generation) */
|
|
98
|
+
hasGlobalOptions?: boolean;
|
|
96
99
|
}
|
|
97
100
|
/**
|
|
98
101
|
* Subcommand information
|
|
@@ -305,6 +308,35 @@ interface RootDocConfig {
|
|
|
305
308
|
/** Index section rendering options */
|
|
306
309
|
index?: CommandIndexOptions;
|
|
307
310
|
}
|
|
311
|
+
/**
|
|
312
|
+
* Root command customization for the root document.
|
|
313
|
+
* Controls the root document's title, description, header, and footer.
|
|
314
|
+
*/
|
|
315
|
+
interface RootCommandInfo {
|
|
316
|
+
/** Title (defaults to command.name) */
|
|
317
|
+
title?: string;
|
|
318
|
+
/** Description (defaults to command.description) */
|
|
319
|
+
description?: string;
|
|
320
|
+
/** Markdown placed after title/description */
|
|
321
|
+
header?: string;
|
|
322
|
+
/** Markdown placed at end of document */
|
|
323
|
+
footer?: string;
|
|
324
|
+
}
|
|
325
|
+
/**
|
|
326
|
+
* Path configuration for documentation output.
|
|
327
|
+
* Simpler alternative to FileMapping for common patterns.
|
|
328
|
+
*
|
|
329
|
+
* @example
|
|
330
|
+
* // All commands in one file
|
|
331
|
+
* path: "docs/CLI.md"
|
|
332
|
+
*
|
|
333
|
+
* // Split files: root + specific commands in separate files
|
|
334
|
+
* path: { root: "docs/CLI.md", commands: { "build": "docs/build.md" } }
|
|
335
|
+
*/
|
|
336
|
+
type PathConfig = string | {
|
|
337
|
+
root: string;
|
|
338
|
+
commands?: Record<string, string>;
|
|
339
|
+
};
|
|
308
340
|
/**
|
|
309
341
|
* Per-file configuration with custom renderer
|
|
310
342
|
*/
|
|
@@ -317,6 +349,8 @@ interface FileConfig {
|
|
|
317
349
|
title?: string;
|
|
318
350
|
/** File description (added after title) */
|
|
319
351
|
description?: string;
|
|
352
|
+
/** Skip subcommand expansion (commands are used as-is). @internal */
|
|
353
|
+
noExpand?: boolean;
|
|
320
354
|
}
|
|
321
355
|
/**
|
|
322
356
|
* File mapping configuration
|
|
@@ -343,8 +377,15 @@ interface GenerateDocConfig {
|
|
|
343
377
|
* Title and description are derived from `command.name` and `command.description`.
|
|
344
378
|
*/
|
|
345
379
|
rootDoc?: RootDocConfig;
|
|
380
|
+
/**
|
|
381
|
+
* Path configuration (simpler alternative to files).
|
|
382
|
+
* Mutually exclusive with `files`.
|
|
383
|
+
*/
|
|
384
|
+
path?: PathConfig;
|
|
346
385
|
/** File output configuration (command path -> file mapping) */
|
|
347
|
-
files
|
|
386
|
+
files?: FileMapping;
|
|
387
|
+
/** Root command customization (title, description, header, footer) */
|
|
388
|
+
rootInfo?: RootCommandInfo;
|
|
348
389
|
/** Command paths to ignore (including their subcommands) */
|
|
349
390
|
ignores?: string[];
|
|
350
391
|
/** Default renderer options (used when render is not specified per file) */
|
|
@@ -359,6 +400,11 @@ interface GenerateDocConfig {
|
|
|
359
400
|
* The full document structure is used to maintain cross-file links.
|
|
360
401
|
*/
|
|
361
402
|
targetCommands?: string[];
|
|
403
|
+
/**
|
|
404
|
+
* Global args schema (runtime schema alternative).
|
|
405
|
+
* When provided, automatically derives `rootDoc.globalOptions` from this schema.
|
|
406
|
+
*/
|
|
407
|
+
globalArgs?: ArgsSchema;
|
|
362
408
|
}
|
|
363
409
|
/**
|
|
364
410
|
* generateDoc result
|
|
@@ -418,6 +464,18 @@ declare function globalOptionsStartMarker(): string;
|
|
|
418
464
|
* Generate end marker for a global options section
|
|
419
465
|
*/
|
|
420
466
|
declare function globalOptionsEndMarker(): string;
|
|
467
|
+
/**
|
|
468
|
+
* Marker prefix for root header sections in generated documentation
|
|
469
|
+
*/
|
|
470
|
+
declare const ROOT_HEADER_MARKER_PREFIX = "politty:root-header";
|
|
471
|
+
declare function rootHeaderStartMarker(): string;
|
|
472
|
+
declare function rootHeaderEndMarker(): string;
|
|
473
|
+
/**
|
|
474
|
+
* Marker prefix for root footer sections in generated documentation
|
|
475
|
+
*/
|
|
476
|
+
declare const ROOT_FOOTER_MARKER_PREFIX = "politty:root-footer";
|
|
477
|
+
declare function rootFooterStartMarker(): string;
|
|
478
|
+
declare function rootFooterEndMarker(): string;
|
|
421
479
|
/**
|
|
422
480
|
* Marker prefix for index sections in generated documentation
|
|
423
481
|
* Format: <!-- politty:index:<scope>:start --> ... <!-- politty:index:<scope>:end -->
|
|
@@ -512,9 +570,6 @@ declare function renderSubcommandsTableFromArray(subcommands: SubCommandInfo[],
|
|
|
512
570
|
* ```
|
|
513
571
|
*/
|
|
514
572
|
declare function renderExamplesDefault(examples: Example[], results?: ExampleExecutionResult[], opts?: ExamplesRenderOptions): string;
|
|
515
|
-
/**
|
|
516
|
-
* Create command renderer with options
|
|
517
|
-
*/
|
|
518
573
|
declare function createCommandRenderer(options?: DefaultRendererOptions): RenderFunction;
|
|
519
574
|
/**
|
|
520
575
|
* Default renderers presets
|
|
@@ -641,5 +696,5 @@ type CommandCategory = {
|
|
|
641
696
|
*/
|
|
642
697
|
declare function renderCommandIndex(command: AnyCommand, categories: CommandCategory[], options?: CommandIndexOptions): Promise<string>;
|
|
643
698
|
//#endregion
|
|
644
|
-
export { type ArgsShape, type ArgsTableOptions, type ArgumentsRenderContext, type ArgumentsRenderFunction, type CommandCategory, type CommandIndexOptions, type CommandInfo, type DefaultRendererOptions, type DeleteFileFs, type ExampleCommandConfig, type ExampleConfig, type ExampleExecutionResult, type ExamplesRenderContext, type ExamplesRenderFunction, type ExamplesRenderOptions, type FileConfig, type FileMapping, type FormatterFunction, GLOBAL_OPTIONS_MARKER_PREFIX, type GenerateDocConfig, type GenerateDocResult, type HeadingLevel, INDEX_MARKER_PREFIX, type OptionsRenderContext, type OptionsRenderFunction, type RenderContentOptions, type RenderFunction, type RootDocConfig, SECTION_MARKER_PREFIX, SECTION_TYPES, type SectionRenderFunction, type SectionType, type SimpleRenderContext, type SimpleRenderFunction, type SubCommandInfo, type SubcommandsRenderContext, type SubcommandsRenderFunction, type SubcommandsRenderOptions, UPDATE_GOLDEN_ENV, assertDocMatch, buildCommandInfo, collectAllCommands, compareWithExisting, createCommandRenderer, defaultRenderers, executeExamples, formatDiff, generateDoc, globalOptionsEndMarker, globalOptionsStartMarker, indexEndMarker, indexStartMarker, initDocFile, renderArgsTable, renderArgumentsList, renderArgumentsListFromArray, renderArgumentsTable, renderArgumentsTableFromArray, renderCommandIndex, renderExamplesDefault, renderOptionsList, renderOptionsListFromArray, renderOptionsTable, renderOptionsTableFromArray, renderSubcommandsTable, renderSubcommandsTableFromArray, renderUsage, resolveLazyCommand, sectionEndMarker, sectionStartMarker, writeFile };
|
|
699
|
+
export { type ArgsShape, type ArgsTableOptions, type ArgumentsRenderContext, type ArgumentsRenderFunction, type CommandCategory, type CommandIndexOptions, type CommandInfo, type DefaultRendererOptions, type DeleteFileFs, type ExampleCommandConfig, type ExampleConfig, type ExampleExecutionResult, type ExamplesRenderContext, type ExamplesRenderFunction, type ExamplesRenderOptions, type FileConfig, type FileMapping, type FormatterFunction, GLOBAL_OPTIONS_MARKER_PREFIX, type GenerateDocConfig, type GenerateDocResult, type HeadingLevel, INDEX_MARKER_PREFIX, type OptionsRenderContext, type OptionsRenderFunction, type PathConfig, ROOT_FOOTER_MARKER_PREFIX, ROOT_HEADER_MARKER_PREFIX, type RenderContentOptions, type RenderFunction, type RootCommandInfo, type RootDocConfig, SECTION_MARKER_PREFIX, SECTION_TYPES, type SectionRenderFunction, type SectionType, type SimpleRenderContext, type SimpleRenderFunction, type SubCommandInfo, type SubcommandsRenderContext, type SubcommandsRenderFunction, type SubcommandsRenderOptions, UPDATE_GOLDEN_ENV, assertDocMatch, buildCommandInfo, collectAllCommands, compareWithExisting, createCommandRenderer, defaultRenderers, executeExamples, formatDiff, generateDoc, globalOptionsEndMarker, globalOptionsStartMarker, indexEndMarker, indexStartMarker, initDocFile, renderArgsTable, renderArgumentsList, renderArgumentsListFromArray, renderArgumentsTable, renderArgumentsTableFromArray, renderCommandIndex, renderExamplesDefault, renderOptionsList, renderOptionsListFromArray, renderOptionsTable, renderOptionsTableFromArray, renderSubcommandsTable, renderSubcommandsTableFromArray, renderUsage, resolveLazyCommand, rootFooterEndMarker, rootFooterStartMarker, rootHeaderEndMarker, rootHeaderStartMarker, sectionEndMarker, sectionStartMarker, writeFile };
|
|
645
700
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/docs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/executor/subcommand-router.ts","../../src/docs/render-args.ts","../../src/docs/types.ts","../../src/docs/default-renderers.ts","../../src/docs/doc-comparator.ts","../../src/docs/doc-generator.ts","../../src/docs/example-executor.ts","../../src/docs/golden-test.ts","../../src/docs/render-index.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/executor/subcommand-router.ts","../../src/docs/render-args.ts","../../src/docs/types.ts","../../src/docs/default-renderers.ts","../../src/docs/doc-comparator.ts","../../src/docs/doc-generator.ts","../../src/docs/example-executor.ts","../../src/docs/golden-test.ts","../../src/docs/render-index.ts"],"mappings":";;;;;;;;;;AASA;iBAAsB,kBAAA,CAAmB,GAAA,EAAK,eAAA,GAAkB,OAAA,CAAQ,UAAA;;;;;;;KCD5D,SAAA,GAAY,MAAA,SAAe,CAAA,CAAE,OAAA;ADCzC;;;AAAA,KCIY,gBAAA;EDJ4D,6DCMtE,OAAA;AAAA;;;;;;;;;;;AAPF;;;;;;;;;AAKA;;;;iBAyCgB,eAAA,CAAgB,IAAA,EAAM,SAAA,EAAW,OAAA,GAAU,gBAAA;;;;KCjD/C,YAAA;;AFIZ;;KECY,mBAAA;EFDkC,4DEG5C,YAAA,GAAe,YAAA,EFH+C;EEK9D,QAAA;AAAA;;;;UAMe,WAAA;EFXiE;EEahF,IAAA;;EAEA,WAAA;;EAEA,eAAA;EDlBmB;ECoBnB,WAAA;EDpB4B;ECsB5B,KAAA;EDtBqC;ECwBrC,cAAA,EAAgB,iBAAA;EDxB8B;EC0B9C,OAAA,EAAS,iBAAA;EDrBC;ECuBV,WAAA,EAAa,cAAA;;EAEb,SAAA,EAAW,eAAA;EDvBJ;ECyBP,OAAA,EAAS,UAAA;EDcoB;ECZ7B,KAAA;EDYyE;ECVzE,QAAA;EDU8B;ECR9B,OAAA,GAAU,MAAA;EDQqC;ECN/C,QAAA,GAAW,OAAA;EDM8D;ECJzE,cAA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