politty 0.4.6 → 0.4.7
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/completion/index.d.cts +1 -1
- package/dist/completion/index.d.ts +1 -1
- package/dist/docs/index.cjs +1 -1
- package/dist/docs/index.d.cts +1 -1
- package/dist/docs/index.d.ts +1 -1
- package/dist/docs/index.js +1 -1
- package/dist/{index-C5-0RXiH.d.cts → index-BA0GkZQx.d.cts} +2 -2
- package/dist/{index-C5-0RXiH.d.cts.map → index-BA0GkZQx.d.cts.map} +1 -1
- package/dist/{index-BZalbMeu.d.ts → index-rMDe9hp1.d.ts} +2 -2
- package/dist/{index-BZalbMeu.d.ts.map → index-rMDe9hp1.d.ts.map} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/{runner-C1Aah5c5.cjs → runner-Cn6Oq4ZZ.cjs} +90 -5
- package/dist/runner-Cn6Oq4ZZ.cjs.map +1 -0
- package/dist/{runner-DjG0uBxQ.js → runner-D4ByDT5I.js} +90 -5
- package/dist/runner-D4ByDT5I.js.map +1 -0
- package/dist/{schema-extractor-CVf0J4An.d.cts → schema-extractor-BoWkcP9a.d.cts} +21 -2
- package/dist/schema-extractor-BoWkcP9a.d.cts.map +1 -0
- package/dist/{schema-extractor-C9APqeSL.d.ts → schema-extractor-DoDO4M_i.d.ts} +21 -2
- package/dist/schema-extractor-DoDO4M_i.d.ts.map +1 -0
- package/package.json +1 -1
- package/dist/runner-C1Aah5c5.cjs.map +0 -1
- package/dist/runner-DjG0uBxQ.js.map +0 -1
- package/dist/schema-extractor-C9APqeSL.d.ts.map +0 -1
- package/dist/schema-extractor-CVf0J4An.d.cts.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as CompletableSubcommand, D as CompletionResult, E as CompletionOptions, O as ShellType, S as CompletableOption, T as CompletionGenerator, _ as CompletionDirective, a as getSupportedShells, b as CompletionType, c as resolveValueCompletion, d as ShellFormatOptions, f as formatForShell, g as CompletionCandidate, h as CandidateResult, i as generateCompletion, l as extractCompletionData, m as hasCompleteCommand, n as createCompletionCommand, o as withCompletionCommand, p as createDynamicCompleteCommand, r as detectShell, s as ValueCompletionField, t as WithCompletionOptions, u as extractPositionals, v as generateCandidates, w as CompletionData, x as parseCompletionContext, y as CompletionContext } from "../index-
|
|
1
|
+
import { C as CompletableSubcommand, D as CompletionResult, E as CompletionOptions, O as ShellType, S as CompletableOption, T as CompletionGenerator, _ as CompletionDirective, a as getSupportedShells, b as CompletionType, c as resolveValueCompletion, d as ShellFormatOptions, f as formatForShell, g as CompletionCandidate, h as CandidateResult, i as generateCompletion, l as extractCompletionData, m as hasCompleteCommand, n as createCompletionCommand, o as withCompletionCommand, p as createDynamicCompleteCommand, r as detectShell, s as ValueCompletionField, t as WithCompletionOptions, u as extractPositionals, v as generateCandidates, w as CompletionData, x as parseCompletionContext, y as CompletionContext } from "../index-BA0GkZQx.cjs";
|
|
2
2
|
export { CandidateResult, CompletableOption, CompletableSubcommand, CompletionCandidate, CompletionContext, CompletionData, CompletionDirective, CompletionGenerator, CompletionOptions, CompletionResult, CompletionType, ShellFormatOptions, ShellType, ValueCompletionField, WithCompletionOptions, createCompletionCommand, createDynamicCompleteCommand, detectShell, extractCompletionData, extractPositionals, formatForShell, generateCandidates, generateCompletion, getSupportedShells, hasCompleteCommand, parseCompletionContext, resolveValueCompletion, withCompletionCommand };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as CompletableSubcommand, D as CompletionResult, E as CompletionOptions, O as ShellType, S as CompletableOption, T as CompletionGenerator, _ as CompletionDirective, a as getSupportedShells, b as CompletionType, c as resolveValueCompletion, d as ShellFormatOptions, f as formatForShell, g as CompletionCandidate, h as CandidateResult, i as generateCompletion, l as extractCompletionData, m as hasCompleteCommand, n as createCompletionCommand, o as withCompletionCommand, p as createDynamicCompleteCommand, r as detectShell, s as ValueCompletionField, t as WithCompletionOptions, u as extractPositionals, v as generateCandidates, w as CompletionData, x as parseCompletionContext, y as CompletionContext } from "../index-
|
|
1
|
+
import { C as CompletableSubcommand, D as CompletionResult, E as CompletionOptions, O as ShellType, S as CompletableOption, T as CompletionGenerator, _ as CompletionDirective, a as getSupportedShells, b as CompletionType, c as resolveValueCompletion, d as ShellFormatOptions, f as formatForShell, g as CompletionCandidate, h as CandidateResult, i as generateCompletion, l as extractCompletionData, m as hasCompleteCommand, n as createCompletionCommand, o as withCompletionCommand, p as createDynamicCompleteCommand, r as detectShell, s as ValueCompletionField, t as WithCompletionOptions, u as extractPositionals, v as generateCandidates, w as CompletionData, x as parseCompletionContext, y as CompletionContext } from "../index-rMDe9hp1.js";
|
|
2
2
|
export { CandidateResult, CompletableOption, CompletableSubcommand, CompletionCandidate, CompletionContext, CompletionData, CompletionDirective, CompletionGenerator, CompletionOptions, CompletionResult, CompletionType, ShellFormatOptions, ShellType, ValueCompletionField, WithCompletionOptions, createCompletionCommand, createDynamicCompleteCommand, detectShell, extractCompletionData, extractPositionals, formatForShell, generateCandidates, generateCompletion, getSupportedShells, hasCompleteCommand, parseCompletionContext, resolveValueCompletion, withCompletionCommand };
|
package/dist/docs/index.cjs
CHANGED
|
@@ -818,7 +818,7 @@ async function executeSingleExample(example, rootCommand, commandPath) {
|
|
|
818
818
|
collector.start();
|
|
819
819
|
let success = true;
|
|
820
820
|
try {
|
|
821
|
-
const { runCommand } = await Promise.resolve().then(() => require("../runner-
|
|
821
|
+
const { runCommand } = await Promise.resolve().then(() => require("../runner-Cn6Oq4ZZ.cjs")).then((n) => n.runner_exports);
|
|
822
822
|
const result = await runCommand(rootCommand, argv);
|
|
823
823
|
success = result.success;
|
|
824
824
|
if (!result.success && result.error) console.error(result.error.message);
|
package/dist/docs/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as SubCommandValue, c as AnyCommand, l as ArgsSchema, m as Example, n as ResolvedFieldMeta, t as ExtractedFields } from "../schema-extractor-BoWkcP9a.cjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
|
package/dist/docs/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { A as SubCommandValue, c as AnyCommand, l as ArgsSchema, m as Example, n as ResolvedFieldMeta, t as ExtractedFields } from "../schema-extractor-DoDO4M_i.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
import * as fs from "node:fs";
|
|
4
4
|
|
package/dist/docs/index.js
CHANGED
|
@@ -815,7 +815,7 @@ async function executeSingleExample(example, rootCommand, commandPath) {
|
|
|
815
815
|
collector.start();
|
|
816
816
|
let success = true;
|
|
817
817
|
try {
|
|
818
|
-
const { runCommand } = await import("../runner-
|
|
818
|
+
const { runCommand } = await import("../runner-D4ByDT5I.js").then((n) => n.r);
|
|
819
819
|
const result = await runCommand(rootCommand, argv);
|
|
820
820
|
success = result.success;
|
|
821
821
|
if (!result.success && result.error) console.error(result.error.message);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as AnyCommand, f as Command, l as ArgsSchema, n as ResolvedFieldMeta } from "./schema-extractor-
|
|
1
|
+
import { c as AnyCommand, f as Command, l as ArgsSchema, n as ResolvedFieldMeta } from "./schema-extractor-BoWkcP9a.cjs";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/completion/types.d.ts
|
|
@@ -367,4 +367,4 @@ interface WithCompletionOptions {
|
|
|
367
367
|
declare function withCompletionCommand<T extends AnyCommand>(command: T, options?: string | WithCompletionOptions): T;
|
|
368
368
|
//#endregion
|
|
369
369
|
export { CompletableSubcommand as C, CompletionResult as D, CompletionOptions as E, ShellType as O, CompletableOption as S, CompletionGenerator as T, CompletionDirective as _, getSupportedShells as a, CompletionType as b, resolveValueCompletion as c, ShellFormatOptions as d, formatForShell as f, CompletionCandidate as g, CandidateResult as h, generateCompletion as i, extractCompletionData as l, hasCompleteCommand as m, createCompletionCommand as n, withCompletionCommand as o, createDynamicCompleteCommand as p, detectShell as r, ValueCompletionField as s, WithCompletionOptions as t, extractPositionals as u, generateCandidates as v, CompletionData as w, parseCompletionContext as x, CompletionContext as y };
|
|
370
|
-
//# sourceMappingURL=index-
|
|
370
|
+
//# sourceMappingURL=index-BA0GkZQx.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-BA0GkZQx.d.cts","names":[],"sources":["../src/completion/types.ts","../src/completion/dynamic/context-parser.ts","../src/completion/dynamic/candidate-generator.ts","../src/completion/dynamic/complete-command.ts","../src/completion/dynamic/shell-formatter.ts","../src/completion/extractor.ts","../src/completion/value-completion-resolver.ts","../src/completion/index.ts"],"mappings":";;;;AASA;;;AAAA,KAAY,SAAA;;AAKZ;;UAAiB,iBAAA;EAUc;EAR7B,KAAA,EAAO,SAAA;EAAA;EAEP,WAAA;EAEA;EAAA,kBAAA;EAIA;EAFA,mBAAA;EAE6B;EAA7B,gBAAA,GAAmB,UAAA;AAAA;;;;KAMT,eAAA;EAIV,sBAFA,IAAA,yDAMoD;EAJpD,OAAA,aAM6D;EAJ7D,YAAA;AAAA;EAEoD,UAAA;EAAuB,OAAA;AAAA;0DAEd,OAAA;EACzD,UAAA;AAAA;;;;UAOW,iBAAA;EAYf;EAVA,IAAA;EAcA;EAZA,OAAA;EAYiC;EAVjC,KAAA;EAgBe;EAdf,WAAA;;EAEA,UAAA;EAcA;EAZA,SAAA;EAgBA;EAdA,QAAA;EAkBA;EAhBA,eAAA,GAAkB,eAAA;AAAA;;;;UAMH,qBAAA;EAoBqB;EAlBpC,IAAA;EAwBa;EAtBb,OAAA;EA0Ba;EAxBb,QAAA;EAwBkC;EAtBlC,WAAA;EAgBA;EAdA,QAAA;EAgBa;EAdb,QAAA;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,WAAA,WACA,gBAAA,GAAmB,UAAA,GAElB,OAAA,QAAe,oBAAA,EAAsB,cAAA;;;;UA2CvB,qBAAA;EPnGf;EOqGA,WAAA;EPnGA;EOqGA,gBAAA,GAAmB,UAAA;AAAA;;AP/FrB;;;;;;;;;;;AAYA;;;;;;;;iBO0GgB,qBAAA,WAAgC,UAAA,CAAA,CAC9C,OAAA,EAAS,CAAA,EACT,OAAA,YAAmB,qBAAA,GAClB,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as AnyCommand, f as Command, l as ArgsSchema, n as ResolvedFieldMeta } from "./schema-extractor-
|
|
1
|
+
import { c as AnyCommand, f as Command, l as ArgsSchema, n as ResolvedFieldMeta } from "./schema-extractor-DoDO4M_i.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
|
|
4
4
|
//#region src/completion/types.d.ts
|
|
@@ -367,4 +367,4 @@ interface WithCompletionOptions {
|
|
|
367
367
|
declare function withCompletionCommand<T extends AnyCommand>(command: T, options?: string | WithCompletionOptions): T;
|
|
368
368
|
//#endregion
|
|
369
369
|
export { CompletableSubcommand as C, CompletionResult as D, CompletionOptions as E, ShellType as O, CompletableOption as S, CompletionGenerator as T, CompletionDirective as _, getSupportedShells as a, CompletionType as b, resolveValueCompletion as c, ShellFormatOptions as d, formatForShell as f, CompletionCandidate as g, CandidateResult as h, generateCompletion as i, extractCompletionData as l, hasCompleteCommand as m, createCompletionCommand as n, withCompletionCommand as o, createDynamicCompleteCommand as p, detectShell as r, ValueCompletionField as s, WithCompletionOptions as t, extractPositionals as u, generateCandidates as v, CompletionData as w, parseCompletionContext as x, CompletionContext as y };
|
|
370
|
-
//# sourceMappingURL=index-
|
|
370
|
+
//# sourceMappingURL=index-rMDe9hp1.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index-
|
|
1
|
+
{"version":3,"file":"index-rMDe9hp1.d.ts","names":[],"sources":["../src/completion/types.ts","../src/completion/dynamic/context-parser.ts","../src/completion/dynamic/candidate-generator.ts","../src/completion/dynamic/complete-command.ts","../src/completion/dynamic/shell-formatter.ts","../src/completion/extractor.ts","../src/completion/value-completion-resolver.ts","../src/completion/index.ts"],"mappings":";;;;AASA;;;AAAA,KAAY,SAAA;;AAKZ;;UAAiB,iBAAA;EAUc;EAR7B,KAAA,EAAO,SAAA;EAAA;EAEP,WAAA;EAEA;EAAA,kBAAA;EAIA;EAFA,mBAAA;EAE6B;EAA7B,gBAAA,GAAmB,UAAA;AAAA;;;;KAMT,eAAA;EAIV,sBAFA,IAAA,yDAMoD;EAJpD,OAAA,aAM6D;EAJ7D,YAAA;AAAA;EAEoD,UAAA;EAAuB,OAAA;AAAA;0DAEd,OAAA;EACzD,UAAA;AAAA;;;;UAOW,iBAAA;EAYf;EAVA,IAAA;EAcA;EAZA,OAAA;EAYiC;EAVjC,KAAA;EAgBe;EAdf,WAAA;;EAEA,UAAA;EAcA;EAZA,SAAA;EAgBA;EAdA,QAAA;EAkBA;EAhBA,eAAA,GAAkB,eAAA;AAAA;;;;UAMH,qBAAA;EAoBqB;EAlBpC,IAAA;EAwBa;EAtBb,OAAA;EA0Ba;EAxBb,QAAA;EAwBkC;EAtBlC,WAAA;EAgBA;EAdA,QAAA;EAgBa;EAdb,QAAA;EAgBS;EAdT,eAAA,GAAkB,eAAA;AAAA;;;AAsBpB;UAhBiB,qBAAA;;EAEf,IAAA;EAgBA;EAdA,WAAA;EAgBA;EAdA,WAAA,EAAa,qBAAA;EAgBE;EAdf,OAAA,EAAS,iBAAA;EAcuB;EAZhC,WAAA,EAAa,qBAAA;AAAA;;;;UAME,cAAA;EAgBR;EAdP,OAAA,EAAS,qBAAA;EAgBU;EAdnB,WAAA;EAoBU;EAlBV,aAAA,EAAe,iBAAA;AAAA;;;;UAMA,gBAAA;EAeI;EAbnB,MAAA;EAWA;EATA,KAAA,EAAO,SAAA;EAUP;EARA,mBAAA;AAAA;;;;KAMU,mBAAA,IACV,OAAA,EAAS,UAAA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|
3
3
|
const require_completion = require('./completion-Df0eZ70u.cjs');
|
|
4
|
-
const require_runner = require('./runner-
|
|
4
|
+
const require_runner = require('./runner-Cn6Oq4ZZ.cjs');
|
|
5
5
|
|
|
6
6
|
exports.DuplicateAliasError = require_runner.DuplicateAliasError;
|
|
7
7
|
exports.DuplicateFieldError = require_runner.DuplicateFieldError;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as arg, i as CustomCompletion, n as CompletionMeta, r as CompletionType, t as ArgMeta } from "./arg-registry-BNoIwnNr.cjs";
|
|
2
|
-
import { A as
|
|
3
|
-
import { D as CompletionResult, E as CompletionOptions, i as generateCompletion, o as withCompletionCommand, t as WithCompletionOptions } from "./index-
|
|
2
|
+
import { A as SubCommandValue, C as NonRunnableCommand, D as RunResultSuccess, E as RunResultFailure, M as LazyCommand, N as isLazyCommand, O as RunnableCommand, P as lazy, S as MainOptions, T as RunResult, _ as GlobalSetupContext, a as getUnknownKeysMode, b as LogStream, c as AnyCommand, d as CollectedLogs, f as Command, g as GlobalCleanupContext, h as GlobalArgs, i as extractFields, j as SubCommandsRecord, k as SetupContext, l as ArgsSchema, m as Example, n as ResolvedFieldMeta, o as toCamelCase, p as CommandBase, r as UnknownKeysMode, s as toKebabCase, t as ExtractedFields, u as CleanupContext, v as LogEntry, w as RunCommandOptions, x as Logger, y as LogLevel } from "./schema-extractor-BoWkcP9a.cjs";
|
|
3
|
+
import { D as CompletionResult, E as CompletionOptions, i as generateCompletion, o as withCompletionCommand, t as WithCompletionOptions } from "./index-BA0GkZQx.cjs";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/core/command.d.ts
|
|
@@ -559,5 +559,5 @@ type ValidationResult<T> = {
|
|
|
559
559
|
*/
|
|
560
560
|
declare function formatValidationErrors(errors: ValidationError[]): string;
|
|
561
561
|
//#endregion
|
|
562
|
-
export { type AnyCommand, type ArgMeta, type ArgsSchema, type BuiltinOptionDescriptions, type CleanupContext, type CollectedLogs, type Command, type CommandBase, type CommandContext, type CommandValidationError, type CommandValidationResult, type CompletionMeta, type CompletionOptions, type CompletionResult, type CompletionType, type CustomCompletion, DuplicateAliasError, DuplicateFieldError, type Example, type ExtractedFields, type GlobalArgs, type HelpOptions, type LazyCommand, type LogEntry, type LogLevel, type LogStream, type Logger, type MainOptions, type MergedArgs, type NonRunnableCommand, type ParsedArgv, type ParserOptions, PositionalConfigError, ReservedAliasError, type ResolvedFieldMeta, type RunCommandOptions, type RunResult, type RunResultFailure, type RunResultSuccess, type RunnableCommand, type SetupContext, type SubCommandValue, type SubCommandsRecord, type UnknownKeysMode, type ValidationError, type ValidationResult, type WithCompletionOptions, arg, createDefineCommand, defineCommand, extractFields, formatCommandValidationErrors, formatValidationErrors, generateCompletion, generateHelp, getUnknownKeysMode, isColorEnabled, isLazyCommand, lazy, logger, parseArgv, renderInline, renderMarkdown, runCommand, runMain, setColorEnabled, styles, symbols, toCamelCase, toKebabCase, validateCommand, validateDuplicateAliases, validateDuplicateFields, validatePositionalConfig, validateReservedAliases, withCompletionCommand };
|
|
562
|
+
export { type AnyCommand, type ArgMeta, type ArgsSchema, type BuiltinOptionDescriptions, type CleanupContext, type CollectedLogs, type Command, type CommandBase, type CommandContext, type CommandValidationError, type CommandValidationResult, type CompletionMeta, type CompletionOptions, type CompletionResult, type CompletionType, type CustomCompletion, DuplicateAliasError, DuplicateFieldError, type Example, type ExtractedFields, type GlobalArgs, type GlobalCleanupContext, type GlobalSetupContext, type HelpOptions, type LazyCommand, type LogEntry, type LogLevel, type LogStream, type Logger, type MainOptions, type MergedArgs, type NonRunnableCommand, type ParsedArgv, type ParserOptions, PositionalConfigError, ReservedAliasError, type ResolvedFieldMeta, type RunCommandOptions, type RunResult, type RunResultFailure, type RunResultSuccess, type RunnableCommand, type SetupContext, type SubCommandValue, type SubCommandsRecord, type UnknownKeysMode, type ValidationError, type ValidationResult, type WithCompletionOptions, arg, createDefineCommand, defineCommand, extractFields, formatCommandValidationErrors, formatValidationErrors, generateCompletion, generateHelp, getUnknownKeysMode, isColorEnabled, isLazyCommand, lazy, logger, parseArgv, renderInline, renderMarkdown, runCommand, runMain, setColorEnabled, styles, symbols, toCamelCase, toKebabCase, validateCommand, validateDuplicateAliases, validateDuplicateFields, validatePositionalConfig, validateReservedAliases, withCompletionCommand };
|
|
563
563
|
//# sourceMappingURL=index.d.cts.map
|
package/dist/index.d.cts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/core/command.ts","../src/core/runner.ts","../src/output/help-generator.ts","../src/output/logger.ts","../src/output/markdown-renderer.ts","../src/parser/argv-parser.ts","../src/validator/validation-errors.ts","../src/validator/command-validator.ts","../src/validator/zod-validator.ts"],"mappings":";;;;;;;;;KAcK,SAAA,gBAAyB,WAAA,SAAoB,CAAA,CAAE,OAAA,GAChD,CAAA,CAAE,KAAA,CAAM,WAAA,IACR,MAAA;AAPiB;;;AAAA,KAYhB,OAAA,YAAmB,CAAA;;;;;KAMZ,UAAA,4BACV,OAAA,CAAQ,WAAA,iBAA4B,UAAA,GAAa,UAAA,GAAa,WAAA;;;;KAK3D,YAAA,6BAAyC,UAAA,CAAW,SAAA,CAAU,WAAA,GAAc,WAAA;;;;;;;UAQvE,mBAAA,qBAAwC,UAAA;EAChD,IAAA;EACA,WAAA;EACA,IAAA,GAAO,WAAA;EACP,WAAA,GAAc,iBAAA;EACd,KAAA,IAAS,OAAA;IAAW,IAAA,EAAM,YAAA,CAAa,WAAA,EAAa,WAAA;EAAA,aAA0B,OAAA;EAC9E,GAAA,IAAO,IAAA,EAAM,YAAA,CAAa,WAAA,EAAa,WAAA,MAAiB,OAAA;EACxD,OAAA,IAAW,OAAA;IACT,IAAA,EAAM,YAAA,CAAa,WAAA,EAAa,WAAA;IAChC,KAAA,GAAQ,KAAA;EAAA,aACG,OAAA;EACb,KAAA;EACA,QAAA,GAAW,OAAA;AAAA;;;;UAMI,cAAA,qBACK,UAAA,4CAGZ,mBAAA,CAAoB,WAAA,EAAa,OAAA,EAAS,WAAA;EAClD,GAAA,GAAM,IAAA,EAAM,YAAA,CAAa,WAAA,EAAa,WAAA,MAAiB,OAAA;AAAA;;;;UAMxC,iBAAA,qBACK,UAAA,mCAEZ,IAAA,CAAK,mBAAA,CAAoB,WAAA,QAAmB,WAAA;EACpD,GAAA;AAAA;;;;;;;;;;;;;;;AAzC0F;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiG5E,aAAA,qBACM,UAAA,wDAEN,UAAA,CAAA,CAEd,MAAA,EAAQ,cAAA,CAAe,WAAA,EAAa,OAAA,EAAS,WAAA,IAC5C,eAAA,CAAgB,WAAA,EAAa,YAAA,CAAa,WAAA,EAAa,WAAA,GAAc,OAAA;AAAA,iBAGxD,aAAA,qBACM,UAAA,wCACN,UAAA,CAAA,CAEd,MAAA,EAAQ,iBAAA,CAAkB,WAAA,EAAa,WAAA,IACtC,kBAAA,CAAmB,WAAA,EAAa,YAAA,CAAa,WAAA,EAAa,WAAA;;;;;;;;;;;;;;;;;;;;AArF7D;;iBAmIgB,mBAAA,aAAA,CAAA;EAAA,qBACO,UAAA,0CACnB,MAAA,EAAQ,cAAA,CAAe,WAAA,EAAa,OAAA,EAAS,WAAA,IAC5C,eAAA,CAAgB,WAAA,EAAa,YAAA,CAAa,WAAA,EAAa,WAAA,GAAc,OAAA;EAAA,qBACnD,UAAA,0BACnB,MAAA,EAAQ,iBAAA,CAAkB,WAAA,EAAa,WAAA,IACtC,kBAAA,CAAmB,WAAA,EAAa,YAAA,CAAa,WAAA,EAAa,WAAA;AAAA;;;;;;;;AA3L1C;;;;;;;;;;;;;;;;;;;;AAOX;
|
|
1
|
+
{"version":3,"file":"index.d.cts","names":[],"sources":["../src/core/command.ts","../src/core/runner.ts","../src/output/help-generator.ts","../src/output/logger.ts","../src/output/markdown-renderer.ts","../src/parser/argv-parser.ts","../src/validator/validation-errors.ts","../src/validator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AAA,EAAW,eAAA;;;;;;;;;iBAkBnC,wBAAA,CAAyB,SAAA,EAAW,eAAA;;APzLwB;;;;;;;;;;;iBO6M5D,wBAAA,CAAyB,SAAA,EAAW,eAAA;;;;;;APxMwC;;;;;;;;iBO6N5E,uBAAA,CACd,SAAA,EAAW,eAAA,EACX,eAAA;;;;;;;;;;;;;;;;;;;iBAoDoB,eAAA,CACpB,OAAA,EAAS,UAAA,EACT,OAAA,GAAS,sBAAA,GACR,OAAA,CAAQ,uBAAA;;;;;;;iBAqCK,6BAAA,CAA8B,MAAA,EAAQ,sBAAA;;;;;;UCtVrC,eAAA;ERQZ;EQNH,IAAA;ERMY;EQJZ,OAAA;ERIkD;EQFlD,IAAA;ERGI;EQDJ,QAAA;EREQ;EQAR,QAAA;AAAA;;;;KAMU,gBAAA;EACN,OAAA;EAAe,IAAA,EAAM,CAAA;AAAA;EACrB,OAAA;EAAgB,MAAA,EAAQ,eAAA;AAAA;;;;iBA4Cd,sBAAA,CAAuB,MAAA,EAAQ,eAAA"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as arg, i as CustomCompletion, n as CompletionMeta, r as CompletionType, t as ArgMeta } from "./arg-registry-2m40k1Et.js";
|
|
2
|
-
import { A as
|
|
3
|
-
import { D as CompletionResult, E as CompletionOptions, i as generateCompletion, o as withCompletionCommand, t as WithCompletionOptions } from "./index-
|
|
2
|
+
import { A as SubCommandValue, C as NonRunnableCommand, D as RunResultSuccess, E as RunResultFailure, M as LazyCommand, N as isLazyCommand, O as RunnableCommand, P as lazy, S as MainOptions, T as RunResult, _ as GlobalSetupContext, a as getUnknownKeysMode, b as LogStream, c as AnyCommand, d as CollectedLogs, f as Command, g as GlobalCleanupContext, h as GlobalArgs, i as extractFields, j as SubCommandsRecord, k as SetupContext, l as ArgsSchema, m as Example, n as ResolvedFieldMeta, o as toCamelCase, p as CommandBase, r as UnknownKeysMode, s as toKebabCase, t as ExtractedFields, u as CleanupContext, v as LogEntry, w as RunCommandOptions, x as Logger, y as LogLevel } from "./schema-extractor-DoDO4M_i.js";
|
|
3
|
+
import { D as CompletionResult, E as CompletionOptions, i as generateCompletion, o as withCompletionCommand, t as WithCompletionOptions } from "./index-rMDe9hp1.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
|
|
6
6
|
//#region src/core/command.d.ts
|
|
@@ -559,5 +559,5 @@ type ValidationResult<T> = {
|
|
|
559
559
|
*/
|
|
560
560
|
declare function formatValidationErrors(errors: ValidationError[]): string;
|
|
561
561
|
//#endregion
|
|
562
|
-
export { type AnyCommand, type ArgMeta, type ArgsSchema, type BuiltinOptionDescriptions, type CleanupContext, type CollectedLogs, type Command, type CommandBase, type CommandContext, type CommandValidationError, type CommandValidationResult, type CompletionMeta, type CompletionOptions, type CompletionResult, type CompletionType, type CustomCompletion, DuplicateAliasError, DuplicateFieldError, type Example, type ExtractedFields, type GlobalArgs, type HelpOptions, type LazyCommand, type LogEntry, type LogLevel, type LogStream, type Logger, type MainOptions, type MergedArgs, type NonRunnableCommand, type ParsedArgv, type ParserOptions, PositionalConfigError, ReservedAliasError, type ResolvedFieldMeta, type RunCommandOptions, type RunResult, type RunResultFailure, type RunResultSuccess, type RunnableCommand, type SetupContext, type SubCommandValue, type SubCommandsRecord, type UnknownKeysMode, type ValidationError, type ValidationResult, type WithCompletionOptions, arg, createDefineCommand, defineCommand, extractFields, formatCommandValidationErrors, formatValidationErrors, generateCompletion, generateHelp, getUnknownKeysMode, isColorEnabled, isLazyCommand, lazy, logger, parseArgv, renderInline, renderMarkdown, runCommand, runMain, setColorEnabled, styles, symbols, toCamelCase, toKebabCase, validateCommand, validateDuplicateAliases, validateDuplicateFields, validatePositionalConfig, validateReservedAliases, withCompletionCommand };
|
|
562
|
+
export { type AnyCommand, type ArgMeta, type ArgsSchema, type BuiltinOptionDescriptions, type CleanupContext, type CollectedLogs, type Command, type CommandBase, type CommandContext, type CommandValidationError, type CommandValidationResult, type CompletionMeta, type CompletionOptions, type CompletionResult, type CompletionType, type CustomCompletion, DuplicateAliasError, DuplicateFieldError, type Example, type ExtractedFields, type GlobalArgs, type GlobalCleanupContext, type GlobalSetupContext, type HelpOptions, type LazyCommand, type LogEntry, type LogLevel, type LogStream, type Logger, type MainOptions, type MergedArgs, type NonRunnableCommand, type ParsedArgv, type ParserOptions, PositionalConfigError, ReservedAliasError, type ResolvedFieldMeta, type RunCommandOptions, type RunResult, type RunResultFailure, type RunResultSuccess, type RunnableCommand, type SetupContext, type SubCommandValue, type SubCommandsRecord, type UnknownKeysMode, type ValidationError, type ValidationResult, type WithCompletionOptions, arg, createDefineCommand, defineCommand, extractFields, formatCommandValidationErrors, formatValidationErrors, generateCompletion, generateHelp, getUnknownKeysMode, isColorEnabled, isLazyCommand, lazy, logger, parseArgv, renderInline, renderMarkdown, runCommand, runMain, setColorEnabled, styles, symbols, toCamelCase, toKebabCase, validateCommand, validateDuplicateAliases, validateDuplicateFields, validatePositionalConfig, validateReservedAliases, withCompletionCommand };
|
|
563
563
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/core/command.ts","../src/core/runner.ts","../src/output/help-generator.ts","../src/output/logger.ts","../src/output/markdown-renderer.ts","../src/parser/argv-parser.ts","../src/validator/validation-errors.ts","../src/validator/command-validator.ts","../src/validator/zod-validator.ts"],"mappings":";;;;;;;;;KAcK,SAAA,gBAAyB,WAAA,SAAoB,CAAA,CAAE,OAAA,GAChD,CAAA,CAAE,KAAA,CAAM,WAAA,IACR,MAAA;AAPiB;;;AAAA,KAYhB,OAAA,YAAmB,CAAA;;;;;KAMZ,UAAA,4BACV,OAAA,CAAQ,WAAA,iBAA4B,UAAA,GAAa,UAAA,GAAa,WAAA;;;;KAK3D,YAAA,6BAAyC,UAAA,CAAW,SAAA,CAAU,WAAA,GAAc,WAAA;;;;;;;UAQvE,mBAAA,qBA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CAAgB,WAAA,EAAa,YAAA,CAAa,WAAA,EAAa,WAAA,GAAc,OAAA;EAAA,qBACnD,UAAA,0BACnB,MAAA,EAAQ,iBAAA,CAAkB,WAAA,EAAa,WAAA,IACtC,kBAAA,CAAmB,WAAA,EAAa,YAAA,CAAa,WAAA,EAAa,WAAA;AAAA;;;;;;;;AA3L1C;;;;;;;;;;;;;;;;;;;;AAOX;
|
|
1
|
+
{"version":3,"file":"index.d.ts","names":[],"sources":["../src/core/command.ts","../src/core/runner.ts","../src/output/help-generator.ts","../src/output/logger.ts","../src/output/markdown-renderer.ts","../src/parser/argv-parser.ts","../src/validator/validation-errors.ts","../src/validator/command-validator.ts","../src/validator/zod-validator.ts"],"mappings":";;;;;;;;;KAcK,SAAA,gBAAyB,WAAA,SAAoB,CAAA,CAAE,OAAA,GAChD,CAAA,CAAE,KAAA,CAAM,WAAA,IACR,MAAA;AAPiB;;;AAAA,KAYhB,OAAA,YAAmB,CAAA;;;;;KAMZ,UAAA,4BACV,OAAA,CAAQ,WAAA,iBAA4B,UAAA,GAAa,UAAA,GAAa,WAAA;;;;KAK3D,YAAA,6BAAyC,UAAA,CAAW,SAAA,CAAU,WAAA,GAAc,WAAA;;;;;;;UAQvE,mBAAA,qBAAwC,UAAA;EAChD,IAAA;EACA,WAAA;EACA,IAAA,GAAO,WAAA;EACP,WAAA,GAAc,iBAAA;EACd,KAAA,IAAS,OAAA;IAAW,IAAA,EAAM,YAAA,CAAa,WAAA,EAAa,WAAA;EAAA,aAA0B,OAAA;EAC9E,GAAA,IAAO,IAAA,EAAM,YAAA,CAAa,WAAA,EAAa,WAAA,MAAiB,OAAA;EACxD,OAAA,IAAW,OAAA;IACT,IAAA,EAAM,YAAA,CAAa,WAAA,EAAa,WAAA;IAChC,KAAA,GAAQ,KAAA;EAAA,aACG,OAAA;EACb,KAAA;EACA,QAAA,GAAW,OAAA;AAAA;;;;UAMI,cAAA,qBACK,UAAA,4CAGZ,mBAAA,CAAoB,WAAA,EAAa,O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SAA2B,KAAA;cAC1B,OAAA;AAAA;;;;cASD,mBAAA,SAA4B,KAAA;cAC3B,OAAA;AAAA;;;;cASD,mBAAA,SAA4B,KAAA;cAC3B,OAAA;AAAA;;;;;ANzBO;UOOJ,sBAAA;EPFH;EOIZ,WAAA;EPJkD;EOMlD,IAAA;EPLI;EOOJ,OAAA;EPNQ;EOQR,KAAA;AAAA;;;;KAMU,uBAAA;EACN,KAAA;AAAA;EACA,KAAA;EAAc,MAAA,EAAQ,sBAAA;AAAA;APhBlB;;;AAAA,UOqBO,sBAAA;EPhBQ;EOkBvB,WAAA;AAAA;;;;;;;iBA4Jc,uBAAA,CAAwB,SAAA,EAAW,eAAA;;;;;;;;;iBAkBnC,wBAAA,CAAyB,SAAA,EAAW,eAAA;;APzLwB;;;;;;;;;;;iBO6M5D,wBAAA,CAAyB,SAAA,EAAW,eAAA;;;;;;APxMwC;;;;;;;;iBO6N5E,uBAAA,CACd,SAAA,EAAW,eAAA,EACX,eAAA;;;;;;;;;;;;;;;;;;;iBAoDoB,eAAA,CACpB,OAAA,EAAS,UAAA,EACT,OAAA,GAAS,sBAAA,GACR,OAAA,CAAQ,uBAAA;;;;;;;iBAqCK,6BAAA,CAA8B,MAAA,EAAQ,sBAAA;;;;;;UCtVrC,eAAA;ERQZ;EQNH,IAAA;ERMY;EQJZ,OAAA;ERIkD;EQFlD,IAAA;ERGI;EQDJ,QAAA;EREQ;EQAR,QAAA;AAAA;;;;KAMU,gBAAA;EACN,OAAA;EAAe,IAAA,EAAM,CAAA;AAAA;EACrB,OAAA;EAAgB,MAAA,EAAQ,eAAA;AAAA;;;;iBA4Cd,sBAAA,CAAuB,MAAA,EAAQ,eAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as symbols, S as styles, _ as renderInline, a as parseArgv, b as logger, c as validateDuplicateAliases, d as validateReservedAliases, f as DuplicateAliasError, g as generateHelp, h as ReservedAliasError, i as formatValidationErrors, l as validateDuplicateFields, m as PositionalConfigError, n as runMain, o as formatCommandValidationErrors, p as DuplicateFieldError, s as validateCommand, t as runCommand, u as validatePositionalConfig, v as renderMarkdown, x as setColorEnabled, y as isColorEnabled } from "./runner-
|
|
1
|
+
import { C as symbols, S as styles, _ as renderInline, a as parseArgv, b as logger, c as validateDuplicateAliases, d as validateReservedAliases, f as DuplicateAliasError, g as generateHelp, h as ReservedAliasError, i as formatValidationErrors, l as validateDuplicateFields, m as PositionalConfigError, n as runMain, o as formatCommandValidationErrors, p as DuplicateFieldError, s as validateCommand, t as runCommand, u as validatePositionalConfig, v as renderMarkdown, x as setColorEnabled, y as isColorEnabled } from "./runner-D4ByDT5I.js";
|
|
2
2
|
import { c as toKebabCase, i as extractFields, l as arg, n as lazy, o as getUnknownKeysMode, s as toCamelCase, t as isLazyCommand } from "./lazy-DSyfzR-F.js";
|
|
3
3
|
import { a as withCompletionCommand, g as defineCommand, h as createDefineCommand, r as generateCompletion } from "./completion-_AnQsWh9.js";
|
|
4
4
|
|
|
@@ -35,12 +35,30 @@ async function executeLifecycle(command, args, _options = {}) {
|
|
|
35
35
|
process.off("SIGINT", signalHandler);
|
|
36
36
|
process.off("SIGTERM", signalHandler);
|
|
37
37
|
}
|
|
38
|
+
const signalError = /* @__PURE__ */ new Error("Process interrupted");
|
|
39
|
+
cleanupContext.error = signalError;
|
|
38
40
|
if (command.cleanup) try {
|
|
39
41
|
await command.cleanup(cleanupContext);
|
|
40
42
|
} catch (e) {
|
|
41
43
|
console.error("Error during signal cleanup:", e);
|
|
42
44
|
}
|
|
45
|
+
if (_options.globalCleanup) try {
|
|
46
|
+
await _options.globalCleanup({ error: signalError });
|
|
47
|
+
} catch (e) {
|
|
48
|
+
console.error("Error during global signal cleanup:", e);
|
|
49
|
+
}
|
|
43
50
|
collector?.stop();
|
|
51
|
+
if (process.stdout.writableNeedDrain) await new Promise((resolve) => {
|
|
52
|
+
const timeout = setTimeout(() => {
|
|
53
|
+
process.stdout.off("drain", onDrain);
|
|
54
|
+
resolve();
|
|
55
|
+
}, 200);
|
|
56
|
+
const onDrain = () => {
|
|
57
|
+
clearTimeout(timeout);
|
|
58
|
+
resolve();
|
|
59
|
+
};
|
|
60
|
+
process.stdout.once("drain", onDrain);
|
|
61
|
+
});
|
|
44
62
|
process.exit(1);
|
|
45
63
|
};
|
|
46
64
|
process.on("SIGINT", signalHandler);
|
|
@@ -1792,11 +1810,60 @@ const defaultLogger = {
|
|
|
1792
1810
|
*/
|
|
1793
1811
|
async function runCommand(command, argv, options = {}) {
|
|
1794
1812
|
const globalExtracted = extractAndValidateGlobal(options);
|
|
1795
|
-
|
|
1813
|
+
const shouldCaptureLogs = options.captureLogs ?? false;
|
|
1814
|
+
const globalCollector = shouldCaptureLogs ? require_subcommand_router.createLogCollector() : null;
|
|
1815
|
+
if (options.setup) {
|
|
1816
|
+
globalCollector?.start();
|
|
1817
|
+
try {
|
|
1818
|
+
await options.setup({});
|
|
1819
|
+
} catch (e) {
|
|
1820
|
+
const error = e instanceof Error ? e : new Error(String(e));
|
|
1821
|
+
if (options.cleanup) try {
|
|
1822
|
+
await options.cleanup({ error });
|
|
1823
|
+
} catch {}
|
|
1824
|
+
globalCollector?.stop();
|
|
1825
|
+
return {
|
|
1826
|
+
success: false,
|
|
1827
|
+
error,
|
|
1828
|
+
exitCode: 1,
|
|
1829
|
+
logs: globalCollector?.getLogs() ?? require_subcommand_router.emptyLogs()
|
|
1830
|
+
};
|
|
1831
|
+
}
|
|
1832
|
+
globalCollector?.stop();
|
|
1833
|
+
}
|
|
1834
|
+
const result = await runCommandInternal(command, argv, {
|
|
1796
1835
|
...options,
|
|
1797
1836
|
handleSignals: false,
|
|
1798
|
-
_globalExtracted: globalExtracted
|
|
1837
|
+
_globalExtracted: globalExtracted,
|
|
1838
|
+
_globalCleanup: options.cleanup,
|
|
1839
|
+
_existingLogs: globalCollector?.getLogs()
|
|
1799
1840
|
});
|
|
1841
|
+
if (options.cleanup) {
|
|
1842
|
+
const cleanupCollector = shouldCaptureLogs ? require_subcommand_router.createLogCollector() : null;
|
|
1843
|
+
cleanupCollector?.start();
|
|
1844
|
+
const cleanupCtx = { error: !result.success ? result.error : void 0 };
|
|
1845
|
+
try {
|
|
1846
|
+
await options.cleanup(cleanupCtx);
|
|
1847
|
+
} catch (e) {
|
|
1848
|
+
if (result.success) {
|
|
1849
|
+
const error = e instanceof Error ? e : new Error(String(e));
|
|
1850
|
+
cleanupCollector?.stop();
|
|
1851
|
+
return {
|
|
1852
|
+
success: false,
|
|
1853
|
+
error,
|
|
1854
|
+
exitCode: 1,
|
|
1855
|
+
logs: require_subcommand_router.mergeLogs(result.logs, cleanupCollector?.getLogs() ?? require_subcommand_router.emptyLogs())
|
|
1856
|
+
};
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1859
|
+
cleanupCollector?.stop();
|
|
1860
|
+
const cleanupLogs = cleanupCollector?.getLogs() ?? require_subcommand_router.emptyLogs();
|
|
1861
|
+
if (cleanupLogs.entries.length > 0) return {
|
|
1862
|
+
...result,
|
|
1863
|
+
logs: require_subcommand_router.mergeLogs(result.logs, cleanupLogs)
|
|
1864
|
+
};
|
|
1865
|
+
}
|
|
1866
|
+
return result;
|
|
1800
1867
|
}
|
|
1801
1868
|
/**
|
|
1802
1869
|
* Run a CLI command as the main entry point
|
|
@@ -1823,6 +1890,15 @@ async function runCommand(command, argv, options = {}) {
|
|
|
1823
1890
|
*/
|
|
1824
1891
|
async function runMain(command, options = {}) {
|
|
1825
1892
|
const globalExtracted = extractAndValidateGlobal(options);
|
|
1893
|
+
if (options.setup) try {
|
|
1894
|
+
await options.setup({});
|
|
1895
|
+
} catch (e) {
|
|
1896
|
+
const error = e instanceof Error ? e : new Error(String(e));
|
|
1897
|
+
if (options.cleanup) try {
|
|
1898
|
+
await options.cleanup({ error });
|
|
1899
|
+
} catch {}
|
|
1900
|
+
process.exit(1);
|
|
1901
|
+
}
|
|
1826
1902
|
const result = await runCommandInternal(command, process.argv.slice(2), {
|
|
1827
1903
|
debug: options.debug,
|
|
1828
1904
|
captureLogs: options.captureLogs,
|
|
@@ -1831,6 +1907,7 @@ async function runMain(command, options = {}) {
|
|
|
1831
1907
|
logger: options.logger,
|
|
1832
1908
|
globalArgs: options.globalArgs,
|
|
1833
1909
|
_globalExtracted: globalExtracted,
|
|
1910
|
+
_globalCleanup: options.cleanup,
|
|
1834
1911
|
_context: {
|
|
1835
1912
|
commandPath: [],
|
|
1836
1913
|
rootName: command.name,
|
|
@@ -1838,6 +1915,12 @@ async function runMain(command, options = {}) {
|
|
|
1838
1915
|
globalExtracted
|
|
1839
1916
|
}
|
|
1840
1917
|
});
|
|
1918
|
+
if (options.cleanup) {
|
|
1919
|
+
const cleanupCtx = { error: !result.success ? result.error : void 0 };
|
|
1920
|
+
try {
|
|
1921
|
+
await options.cleanup(cleanupCtx);
|
|
1922
|
+
} catch {}
|
|
1923
|
+
}
|
|
1841
1924
|
if (process.stdout.writableLength > 0) await new Promise((resolve) => process.stdout.once("drain", resolve));
|
|
1842
1925
|
process.exit(result.exitCode);
|
|
1843
1926
|
}
|
|
@@ -1984,7 +2067,8 @@ async function runCommandInternal(command, argv, options = {}) {
|
|
|
1984
2067
|
return await executeLifecycle(command, validatedGlobalArgs, {
|
|
1985
2068
|
handleSignals: options.handleSignals,
|
|
1986
2069
|
captureLogs: options.captureLogs,
|
|
1987
|
-
existingLogs: getCurrentLogs()
|
|
2070
|
+
existingLogs: getCurrentLogs(),
|
|
2071
|
+
globalCleanup: options._globalCleanup
|
|
1988
2072
|
});
|
|
1989
2073
|
}
|
|
1990
2074
|
const validationResult = validateArgs(parseResult.rawArgs, command.args);
|
|
@@ -2006,7 +2090,8 @@ async function runCommandInternal(command, argv, options = {}) {
|
|
|
2006
2090
|
return await executeLifecycle(command, mergedArgs, {
|
|
2007
2091
|
handleSignals: options.handleSignals,
|
|
2008
2092
|
captureLogs: options.captureLogs,
|
|
2009
|
-
existingLogs: getCurrentLogs()
|
|
2093
|
+
existingLogs: getCurrentLogs(),
|
|
2094
|
+
globalCleanup: options._globalCleanup
|
|
2010
2095
|
});
|
|
2011
2096
|
} catch (error) {
|
|
2012
2097
|
const err = error instanceof Error ? error : new Error(String(error));
|
|
@@ -2177,4 +2262,4 @@ Object.defineProperty(exports, 'validateReservedAliases', {
|
|
|
2177
2262
|
return validateReservedAliases;
|
|
2178
2263
|
}
|
|
2179
2264
|
});
|
|
2180
|
-
//# sourceMappingURL=runner-
|
|
2265
|
+
//# sourceMappingURL=runner-Cn6Oq4ZZ.cjs.map
|