@kjanat/dreamcli 4.0.0-rc.3 → 4.1.0
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 +5 -7
- package/dist/{runtime/adapter.d.mts → adapter-YM5QGi3M.d.mts} +4 -4
- package/dist/completion-CUMeOnAz.mjs +6 -0
- package/dist/completion.d.mts +90 -0
- package/dist/completion.mjs +1 -0
- package/dist/config-CrlScpYX.mjs +1 -0
- package/dist/config.d.mts +2 -0
- package/dist/config.mjs +1 -0
- package/dist/core-DvXUolc_.mjs +17 -0
- package/dist/{core/json-schema/index.d.mts → index-3l8uj16E.d.mts} +43 -34
- package/dist/{core/cli/index.d.mts → index-BAj2y70U.d.mts} +116 -57
- package/dist/index-BziI2aKc.d.mts +5440 -0
- package/dist/index-Cap0MA2V.d.mts +277 -0
- package/dist/index-Cp9kt2t-.d.mts +370 -0
- package/dist/index-DWsnGZlx.d.mts +831 -0
- package/dist/index.d.mts +190 -41
- package/dist/index.mjs +1 -26
- package/dist/json-schema-DRlrz_IV.mjs +52 -0
- package/dist/json-schema.d.mts +2 -0
- package/dist/json-schema.mjs +1 -0
- package/dist/package-json-BgE9YjjQ.mjs +3 -0
- package/dist/prompt.d.mts +48 -0
- package/dist/prompt.mjs +1 -0
- package/dist/rolldown-runtime-G4Kt5YOX.mjs +1 -0
- package/dist/runtime.d.mts +2 -6
- package/dist/runtime.mjs +1 -6
- package/dist/terminal-C8KTXjv5.mjs +6 -0
- package/dist/test-prompter-v__jT2yG.mjs +1 -0
- package/dist/testkit.d.mts +54 -6
- package/dist/testkit.mjs +1 -5
- package/dist/version.mjs +1 -7
- package/dreamcli.schema.json +697 -538
- package/package.json +29 -7
- package/skills/cli-creation/SKILL.md +16 -11
- package/CHANGELOG.md +0 -1116
- package/dist/core/cli/builtins.d.mts +0 -117
- package/dist/core/cli/builtins.mjs +0 -135
- package/dist/core/cli/compiled.d.mts +0 -66
- package/dist/core/cli/compiled.mjs +0 -76
- package/dist/core/cli/dispatch.d.mts +0 -115
- package/dist/core/cli/dispatch.mjs +0 -205
- package/dist/core/cli/help-links.d.mts +0 -27
- package/dist/core/cli/help-links.mjs +0 -41
- package/dist/core/cli/index.mjs +0 -1271
- package/dist/core/cli/planner.d.mts +0 -174
- package/dist/core/cli/planner.mjs +0 -323
- package/dist/core/cli/plugin.d.mts +0 -94
- package/dist/core/cli/plugin.mjs +0 -41
- package/dist/core/cli/propagate.d.mts +0 -39
- package/dist/core/cli/propagate.mjs +0 -57
- package/dist/core/cli/reserved-flags.d.mts +0 -19
- package/dist/core/cli/reserved-flags.mjs +0 -158
- package/dist/core/cli/root-help.d.mts +0 -53
- package/dist/core/cli/root-help.mjs +0 -221
- package/dist/core/cli/root-output-flags.d.mts +0 -74
- package/dist/core/cli/root-output-flags.mjs +0 -169
- package/dist/core/cli/root-surface.d.mts +0 -64
- package/dist/core/cli/root-surface.mjs +0 -28
- package/dist/core/cli/runtime-preflight.d.mts +0 -213
- package/dist/core/cli/runtime-preflight.mjs +0 -221
- package/dist/core/completion/index.d.mts +0 -76
- package/dist/core/completion/index.mjs +0 -90
- package/dist/core/completion/shells/bash.d.mts +0 -23
- package/dist/core/completion/shells/bash.mjs +0 -312
- package/dist/core/completion/shells/fish.d.mts +0 -19
- package/dist/core/completion/shells/fish.mjs +0 -164
- package/dist/core/completion/shells/powershell.d.mts +0 -13
- package/dist/core/completion/shells/powershell.mjs +0 -360
- package/dist/core/completion/shells/shared.d.mts +0 -164
- package/dist/core/completion/shells/shared.mjs +0 -147
- package/dist/core/completion/shells/zsh.d.mts +0 -23
- package/dist/core/completion/shells/zsh.mjs +0 -256
- package/dist/core/config/index.d.mts +0 -191
- package/dist/core/config/index.mjs +0 -285
- package/dist/core/config/package-json.d.mts +0 -179
- package/dist/core/config/package-json.mjs +0 -353
- package/dist/core/errors/index.d.mts +0 -125
- package/dist/core/errors/index.mjs +0 -87
- package/dist/core/execution/index.d.mts +0 -61
- package/dist/core/execution/index.mjs +0 -220
- package/dist/core/help/ansi.d.mts +0 -84
- package/dist/core/help/ansi.mjs +0 -121
- package/dist/core/help/index.d.mts +0 -149
- package/dist/core/help/index.mjs +0 -418
- package/dist/core/help/theme.d.mts +0 -86
- package/dist/core/help/theme.mjs +0 -69
- package/dist/core/json-schema/index.mjs +0 -1008
- package/dist/core/json-schema/meta-descriptions.generated.d.mts +0 -274
- package/dist/core/json-schema/meta-descriptions.generated.mjs +0 -136
- package/dist/core/output/activity.d.mts +0 -193
- package/dist/core/output/activity.mjs +0 -452
- package/dist/core/output/bind.d.mts +0 -37
- package/dist/core/output/bind.mjs +0 -56
- package/dist/core/output/contracts.d.mts +0 -82
- package/dist/core/output/contracts.mjs +0 -57
- package/dist/core/output/display-value.d.mts +0 -19
- package/dist/core/output/display-value.mjs +0 -32
- package/dist/core/output/index.d.mts +0 -344
- package/dist/core/output/index.mjs +0 -514
- package/dist/core/output/renderers.d.mts +0 -45
- package/dist/core/output/renderers.mjs +0 -46
- package/dist/core/output/writer.d.mts +0 -39
- package/dist/core/output/writer.mjs +0 -12
- package/dist/core/parse/index.d.mts +0 -178
- package/dist/core/parse/index.mjs +0 -850
- package/dist/core/parse/occurrences.d.mts +0 -90
- package/dist/core/parse/occurrences.mjs +0 -114
- package/dist/core/prompt/index.d.mts +0 -213
- package/dist/core/prompt/index.mjs +0 -348
- package/dist/core/read-flags/index.d.mts +0 -150
- package/dist/core/read-flags/index.mjs +0 -217
- package/dist/core/resolve/args.d.mts +0 -39
- package/dist/core/resolve/args.mjs +0 -182
- package/dist/core/resolve/coerce.d.mts +0 -79
- package/dist/core/resolve/coerce.mjs +0 -900
- package/dist/core/resolve/config.d.mts +0 -10
- package/dist/core/resolve/config.mjs +0 -19
- package/dist/core/resolve/contracts.d.mts +0 -146
- package/dist/core/resolve/errors.d.mts +0 -10
- package/dist/core/resolve/errors.mjs +0 -148
- package/dist/core/resolve/flags.d.mts +0 -74
- package/dist/core/resolve/flags.mjs +0 -246
- package/dist/core/resolve/index.d.mts +0 -44
- package/dist/core/resolve/index.mjs +0 -123
- package/dist/core/resolve/path-checks.d.mts +0 -48
- package/dist/core/resolve/path-checks.mjs +0 -102
- package/dist/core/resolve/redaction.d.mts +0 -13
- package/dist/core/resolve/redaction.mjs +0 -14
- package/dist/core/resolve/stages.d.mts +0 -86
- package/dist/core/resolve/stages.mjs +0 -170
- package/dist/core/resolve/standard.d.mts +0 -26
- package/dist/core/resolve/standard.mjs +0 -212
- package/dist/core/schema/activity.d.mts +0 -189
- package/dist/core/schema/arg.d.mts +0 -1461
- package/dist/core/schema/arg.mjs +0 -1139
- package/dist/core/schema/brand.d.mts +0 -17
- package/dist/core/schema/cardinality.d.mts +0 -302
- package/dist/core/schema/cardinality.mjs +0 -514
- package/dist/core/schema/command.d.mts +0 -1132
- package/dist/core/schema/command.mjs +0 -999
- package/dist/core/schema/flag.d.mts +0 -1495
- package/dist/core/schema/flag.mjs +0 -1207
- package/dist/core/schema/index.d.mts +0 -15
- package/dist/core/schema/index.mjs +0 -10
- package/dist/core/schema/middleware.d.mts +0 -129
- package/dist/core/schema/middleware.mjs +0 -41
- package/dist/core/schema/number-constraints.d.mts +0 -96
- package/dist/core/schema/number-constraints.mjs +0 -60
- package/dist/core/schema/prompt.d.mts +0 -135
- package/dist/core/schema/provenance.d.mts +0 -99
- package/dist/core/schema/provenance.mjs +0 -28
- package/dist/core/schema/run.d.mts +0 -211
- package/dist/core/schema/source.d.mts +0 -180
- package/dist/core/schema/source.mjs +0 -206
- package/dist/core/schema/standard.d.mts +0 -100
- package/dist/core/schema/standard.mjs +0 -15
- package/dist/core/schema/stdin.d.mts +0 -97
- package/dist/core/schema/stdin.mjs +0 -91
- package/dist/core/schema/string-constraints.d.mts +0 -108
- package/dist/core/schema/string-constraints.mjs +0 -86
- package/dist/core/schema/value-parsers.d.mts +0 -150
- package/dist/core/schema/value-parsers.mjs +0 -160
- package/dist/core/schema/value.d.mts +0 -243
- package/dist/core/schema/value.mjs +0 -573
- package/dist/core/testkit/index.d.mts +0 -63
- package/dist/core/testkit/index.mjs +0 -102
- package/dist/runtime/adapter.mjs +0 -92
- package/dist/runtime/auto.d.mts +0 -25
- package/dist/runtime/auto.mjs +0 -45
- package/dist/runtime/deno.d.mts +0 -99
- package/dist/runtime/deno.mjs +0 -265
- package/dist/runtime/detect.d.mts +0 -86
- package/dist/runtime/detect.mjs +0 -45
- package/dist/runtime/index.d.mts +0 -6
- package/dist/runtime/node.d.mts +0 -71
- package/dist/runtime/node.mjs +0 -228
- package/dist/runtime/paths.d.mts +0 -31
- package/dist/runtime/paths.mjs +0 -48
- package/dist/strings.d.mts +0 -27
- package/dist/strings.mjs +0 -22
- package/examples/basic.ts +0 -37
- package/examples/flag-types.ts +0 -79
- package/examples/gh/package.json +0 -45
- package/examples/gh/src/commands/auth.ts +0 -66
- package/examples/gh/src/commands/issue.ts +0 -120
- package/examples/gh/src/commands/pr.ts +0 -125
- package/examples/gh/src/data/issues.yaml +0 -5
- package/examples/gh/src/data/issues.yaml.d.ts +0 -17
- package/examples/gh/src/data/pull-requests.yaml +0 -7
- package/examples/gh/src/data/pull-requests.yaml.d.ts +0 -18
- package/examples/gh/src/docs.ts +0 -11
- package/examples/gh/src/lib/auth.ts +0 -37
- package/examples/gh/src/lib/utils.ts +0 -17
- package/examples/gh/src/main.test.ts +0 -307
- package/examples/gh/src/main.ts +0 -46
- package/examples/help-config.ts +0 -43
- package/examples/interactive.ts +0 -67
- package/examples/json-mode.ts +0 -95
- package/examples/middleware.ts +0 -71
- package/examples/multi-command.ts +0 -66
- package/examples/output-extras.ts +0 -46
- package/examples/parser-control.ts +0 -40
- package/examples/pwsh-demo/README.md +0 -40
- package/examples/pwsh-demo/package.json +0 -41
- package/examples/pwsh-demo/pwsh-demo.cmd +0 -3
- package/examples/pwsh-demo/smoke-powershell.ps1 +0 -218
- package/examples/pwsh-demo/src/main.test.ts +0 -45
- package/examples/pwsh-demo/src/main.ts +0 -140
- package/examples/spinner-progress.ts +0 -49
- package/examples/standard-schema.ts +0 -45
- package/examples/testing.ts +0 -147
- package/examples/transport-launcher.ts +0 -85
|
@@ -1,23 +1,104 @@
|
|
|
1
|
-
import { schemaBrand } from "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { ArgBuilder, ArgConfig } from "../schema/arg.mjs";
|
|
6
|
-
import { Verbosity } from "../output/contracts.mjs";
|
|
7
|
-
import { CommandBuilder, CommandDefinition, CommandSchema, Out } from "../schema/command.mjs";
|
|
8
|
-
import "../help/index.mjs";
|
|
9
|
-
import { CapturedOutput } from "../output/index.mjs";
|
|
10
|
-
import { RunOptions, RunResult } from "../schema/run.mjs";
|
|
11
|
-
import { ParseOptions } from "../parse/index.mjs";
|
|
12
|
-
import { BeforeParseParams, CLIPlugin, CLIPluginHooks, PluginCommandContext, ResolvedCommandParams, plugin } from "./plugin.mjs";
|
|
13
|
-
import { CompiledCLI } from "./compiled.mjs";
|
|
14
|
-
import { RuntimeAdapter } from "../../runtime/adapter.mjs";
|
|
15
|
-
import { PackageJsonData } from "../config/package-json.mjs";
|
|
16
|
-
import { HelpLinks } from "./help-links.mjs";
|
|
17
|
-
import { CompletionOptions } from "../completion/shells/shared.mjs";
|
|
18
|
-
import { Shell } from "../completion/index.mjs";
|
|
19
|
-
import { FormatLoader } from "../config/index.mjs";
|
|
1
|
+
import { C as ErasedActionHandler, E as ExecutionStep, G as ArgConfig, Jn as schemaBrand, Ln as HelpThemeFactory, Nt as FlagBuilder, Pt as FlagConfig, U as Verbosity, W as ArgBuilder, _ as CommandDefinition, b as CommandSchema, g as CommandBuilder } from "./index-BziI2aKc.mjs";
|
|
2
|
+
import { H as Builtins, U as BuiltinsConfig, b as ParseOptions, n as RunResult, t as RunOptions, u as CLIPlugin } from "./index-DWsnGZlx.mjs";
|
|
3
|
+
import { n as RuntimeAdapter } from "./adapter-YM5QGi3M.mjs";
|
|
4
|
+
import { h as PackageJsonData, s as FormatLoader } from "./index-Cp9kt2t-.mjs";
|
|
20
5
|
import { Colors } from "ansispeck";
|
|
6
|
+
//#region src/core/completion/shells/shared.d.ts
|
|
7
|
+
/**
|
|
8
|
+
* Options for completion script generation.
|
|
9
|
+
*
|
|
10
|
+
* Passed to individual shell generators alongside the CLI schema.
|
|
11
|
+
*
|
|
12
|
+
* These options affect the generated script text, not runtime completion
|
|
13
|
+
* behavior after installation.
|
|
14
|
+
*/
|
|
15
|
+
interface CompletionOptions {
|
|
16
|
+
/**
|
|
17
|
+
* Override the generated shell function name prefix.
|
|
18
|
+
*
|
|
19
|
+
* Defaults to the CLI name from the schema. This is mainly useful when
|
|
20
|
+
* embedding multiple generated scripts in the same environment and you want
|
|
21
|
+
* deterministic, collision-free helper names.
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* generateCompletion(schema, 'bash', { functionPrefix: 'acme' });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
readonly functionPrefix?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Controls which root-level surface shell completion exposes when a
|
|
31
|
+
* default command exists.
|
|
32
|
+
*
|
|
33
|
+
* - `'subcommands'` keeps hybrid CLIs command-centric at the root while
|
|
34
|
+
* still exposing default-command flags for a single visible default
|
|
35
|
+
* command.
|
|
36
|
+
* - `'surface'` exposes the default command's root-usable flags at the
|
|
37
|
+
* root whenever a visible default command exists.
|
|
38
|
+
*
|
|
39
|
+
* @defaultValue `'subcommands'`
|
|
40
|
+
*/
|
|
41
|
+
readonly rootMode?: 'subcommands' | 'surface';
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
44
|
+
//#region src/core/completion/shell.d.ts
|
|
45
|
+
/**
|
|
46
|
+
* Supported shell targets for completion script generation.
|
|
47
|
+
*
|
|
48
|
+
* `bash`, `zsh`, `fish`, and `powershell` are implemented today.
|
|
49
|
+
*/
|
|
50
|
+
type Shell = 'bash' | 'zsh' | 'fish' | 'powershell';
|
|
51
|
+
/**
|
|
52
|
+
* Implemented shell values as a frozen readonly non-empty tuple.
|
|
53
|
+
*
|
|
54
|
+
* Use this tuple for user-facing validation and shell selection UIs.
|
|
55
|
+
* It intentionally matches the shipped {@link Shell} union exactly so docs,
|
|
56
|
+
* help output, and completion generation advertise the same support surface.
|
|
57
|
+
*
|
|
58
|
+
* @see {@link Shell} for the union type matching these entries.
|
|
59
|
+
*/
|
|
60
|
+
declare const SHELLS: Readonly<readonly ['bash', 'zsh', 'fish', 'powershell']>;
|
|
61
|
+
//#endregion
|
|
62
|
+
//#region src/core/cli/compiled.d.ts
|
|
63
|
+
/**
|
|
64
|
+
* Executable form of one registered command.
|
|
65
|
+
*/
|
|
66
|
+
interface CompiledCommand {
|
|
67
|
+
/** The very {@linkcode CommandSchema} object the public schema tree holds. */
|
|
68
|
+
readonly schema: CommandSchema;
|
|
69
|
+
/** Action handler, `undefined` for commands that only group subcommands. */
|
|
70
|
+
readonly handler: ErasedActionHandler | undefined;
|
|
71
|
+
/** Derive and middleware steps in registration order. */
|
|
72
|
+
readonly steps: readonly ExecutionStep[];
|
|
73
|
+
/** Nested subcommands, keyed by name and by every alias. */
|
|
74
|
+
readonly subcommands: ReadonlyMap<string, CompiledCommand>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Executable state of a CLI program.
|
|
78
|
+
*/
|
|
79
|
+
interface CompiledCLI {
|
|
80
|
+
/** Top-level commands in registration order. */
|
|
81
|
+
readonly commands: readonly CompiledCommand[];
|
|
82
|
+
/** The default command, `undefined` when none is registered. */
|
|
83
|
+
readonly defaultCommand: CompiledCommand | undefined;
|
|
84
|
+
/** Plugins in registration order. */
|
|
85
|
+
readonly plugins: readonly CLIPlugin[];
|
|
86
|
+
}
|
|
87
|
+
//#endregion
|
|
88
|
+
//#region src/core/cli/help-links.d.ts
|
|
89
|
+
/**
|
|
90
|
+
* OSC 8 hyperlink targets for the root-help header.
|
|
91
|
+
*
|
|
92
|
+
* Set via `CLIBuilder.links()`; fields left `undefined` are derived from
|
|
93
|
+
* manifest metadata when `.manifest()` is active.
|
|
94
|
+
*/
|
|
95
|
+
interface HelpLinks {
|
|
96
|
+
/** URL the program name links to (e.g. the repository or homepage). */
|
|
97
|
+
readonly name: string | undefined;
|
|
98
|
+
/** URL the version links to (e.g. the release tag). */
|
|
99
|
+
readonly version: string | undefined;
|
|
100
|
+
}
|
|
101
|
+
//#endregion
|
|
21
102
|
//#region src/core/cli/index.d.ts
|
|
22
103
|
/**
|
|
23
104
|
* Runtime descriptor for the CLI program.
|
|
@@ -122,15 +203,21 @@ interface CLISchema {
|
|
|
122
203
|
readonly builtins: Builtins;
|
|
123
204
|
}
|
|
124
205
|
/**
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* @param builder - Builder to look up.
|
|
128
|
-
* @returns Its compiled execution graph.
|
|
129
|
-
* @throws {@linkcode CLIError} `INVALID_BUILDER_STATE` when the builder was not created by `cli()`.
|
|
130
|
-
*
|
|
131
|
-
* @internal
|
|
206
|
+
* Options for {@link CLIBuilder.completions}: the generator options plus where
|
|
207
|
+
* the built-in completion is exposed.
|
|
132
208
|
*/
|
|
133
|
-
|
|
209
|
+
interface CompletionRegistrationOptions extends CompletionOptions {
|
|
210
|
+
/**
|
|
211
|
+
* Where the built-in shell completion is exposed.
|
|
212
|
+
*
|
|
213
|
+
* - `'command'` registers a `completions` subcommand (the default).
|
|
214
|
+
* - `'flag'` exposes an eager `--completions <shell>` flag on the CLI root
|
|
215
|
+
* instead, keeping the root free of a `completions` subcommand.
|
|
216
|
+
*
|
|
217
|
+
* @defaultValue `'command'`
|
|
218
|
+
*/
|
|
219
|
+
readonly as?: 'command' | 'flag';
|
|
220
|
+
}
|
|
134
221
|
/**
|
|
135
222
|
* Configuration for the eager `--completions <shell>` flag.
|
|
136
223
|
*
|
|
@@ -450,22 +537,6 @@ interface CLIRunOptions extends CLIExecuteOptions {
|
|
|
450
537
|
*/
|
|
451
538
|
readonly adapter?: RuntimeAdapter;
|
|
452
539
|
}
|
|
453
|
-
/**
|
|
454
|
-
* CLI execution options extended with the fields `.run()` and dispatch
|
|
455
|
-
* populate themselves.
|
|
456
|
-
*
|
|
457
|
-
* @internal
|
|
458
|
-
*/
|
|
459
|
-
interface InternalCLIExecuteOptions extends CLIExecuteOptions {
|
|
460
|
-
/** Output channel override so activity renders to the terminal. */
|
|
461
|
-
readonly out?: Out;
|
|
462
|
-
/** Capture buffers override paired with `out`. */
|
|
463
|
-
readonly captured?: CapturedOutput;
|
|
464
|
-
/** CLI plugins registered on the builder. */
|
|
465
|
-
readonly plugins?: readonly CLIPlugin[];
|
|
466
|
-
/** Built-in flag state from the schema, threaded to the command executor. */
|
|
467
|
-
readonly builtins?: BuiltinsConfig;
|
|
468
|
-
}
|
|
469
540
|
/**
|
|
470
541
|
* Inputs for {@linkcode resolveRenderContext}. Pass the host facts (TTY
|
|
471
542
|
* status, environment) and any explicit overrides; the resolver applies the
|
|
@@ -1022,7 +1093,7 @@ declare class CLIBuilder {
|
|
|
1022
1093
|
* .run();
|
|
1023
1094
|
* ```
|
|
1024
1095
|
*/
|
|
1025
|
-
completions(options?:
|
|
1096
|
+
completions(options?: CompletionRegistrationOptions): CLIBuilder;
|
|
1026
1097
|
/**
|
|
1027
1098
|
* Execute the CLI program against explicit argv.
|
|
1028
1099
|
*
|
|
@@ -1053,18 +1124,6 @@ declare class CLIBuilder {
|
|
|
1053
1124
|
*/
|
|
1054
1125
|
run(options?: CLIRunOptions): Promise<never>;
|
|
1055
1126
|
}
|
|
1056
|
-
/**
|
|
1057
|
-
* Execution body shared by {@linkcode CLIBuilder.execute} and {@linkcode CLIBuilder.run},
|
|
1058
|
-
* accepting the framework-populated output channel and plugin fields.
|
|
1059
|
-
*
|
|
1060
|
-
* @param builder - Builder supplying the schema and compiled command graph.
|
|
1061
|
-
* @param argv - Raw argv tokens (NOT including the binary/script path).
|
|
1062
|
-
* @param options - Injectable runtime state plus framework-populated fields.
|
|
1063
|
-
* @returns Structured result with exit code and captured output.
|
|
1064
|
-
*
|
|
1065
|
-
* @internal
|
|
1066
|
-
*/
|
|
1067
|
-
declare function executeCLI(builder: CLIBuilder, argv: readonly string[], options?: InternalCLIExecuteOptions): Promise<RunResult>;
|
|
1068
1127
|
/**
|
|
1069
1128
|
* CLI-name inference control for {@link ManifestSettings.inferName}.
|
|
1070
1129
|
*
|
|
@@ -1173,4 +1232,4 @@ declare function cli(options: CLIOptions): CLIBuilder;
|
|
|
1173
1232
|
*/
|
|
1174
1233
|
declare function isMainModule(meta: ImportMeta): boolean;
|
|
1175
1234
|
//#endregion
|
|
1176
|
-
export {
|
|
1235
|
+
export { SHELLS as C, HelpLinks as S, CompletionOptions as T, ResolvedManifestSettings as _, CLIRunOptions as a, isMainModule as b, CompletionsFlagConfig as c, DefaultCommandOptions as d, HelpConfig as f, RenderContextOptions as g, RenderContext as h, CLIOptions as i, ConfigSettings as l, ManifestSettings as m, CLIDefinition as n, CLISchema as o, InferNameOption as p, CLIExecuteOptions as r, CompletionRegistrationOptions as s, CLIBuilder as t, ConfigSettingsDefinition as u, cli as v, Shell as w, resolveRenderContext as x, createCLISchema as y };
|