@powerhousedao/shared 6.2.0-dev.5 → 6.2.0-dev.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/clis/args/{common-Dmf4BGPa.d.mts → common-BQ2pvhCr.d.mts} +3 -3
- package/dist/clis/args/{common-Dmf4BGPa.d.mts.map → common-BQ2pvhCr.d.mts.map} +1 -1
- package/dist/clis/args/common.d.mts +1 -1
- package/dist/clis/args/connect.d.mts +11 -5
- package/dist/clis/args/connect.d.mts.map +1 -1
- package/dist/clis/args/connect.mjs +6 -1
- package/dist/clis/args/connect.mjs.map +1 -1
- package/dist/clis/args/index.d.mts +1 -1
- package/dist/clis/args/vetra.d.mts +1 -1
- package/dist/clis/index.d.mts +6 -0
- package/dist/clis/index.d.mts.map +1 -1
- package/dist/clis/index.mjs +5 -0
- package/dist/clis/index.mjs.map +1 -1
- package/dist/document-drive/index.d.ts.map +1 -1
- package/dist/registry/index.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -109,7 +109,7 @@ declare const defaultDrivesUrl: Partial<cmd_ts_dist_cjs_argparser_js0.Register>
|
|
|
109
109
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
|
110
110
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
111
111
|
declare const logLevel: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
112
|
-
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "
|
|
112
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "info" | "warn" | "error" | "verbose">>;
|
|
113
113
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
114
114
|
declare const connectBasePath: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
115
115
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
@@ -128,7 +128,7 @@ declare const commonArgs: {
|
|
|
128
128
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
129
129
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
130
130
|
logLevel: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
131
|
-
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "
|
|
131
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "info" | "warn" | "error" | "verbose">>;
|
|
132
132
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
133
133
|
packages: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
134
134
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
|
@@ -174,4 +174,4 @@ declare const commonServerArgs: {
|
|
|
174
174
|
};
|
|
175
175
|
//#endregion
|
|
176
176
|
export { packageManagerArgs as _, connectBasePath as a, disableLocalPackages as c, getPackageManagerCommand as d, https as f, logLevel as g, localPackage as h, commonServerArgs as i, drivesPreserveStrategy as l, httpsKeyFile as m, buildArgs as n, debugArgs as o, httpsCertFile as p, commonArgs as r, defaultDrivesUrl as s, AGENTS as t, force as u, packages as v, vetraSwitchboardArgs as y };
|
|
177
|
-
//# sourceMappingURL=common-
|
|
177
|
+
//# sourceMappingURL=common-BQ2pvhCr.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common-
|
|
1
|
+
{"version":3,"file":"common-BQ2pvhCr.d.mts","names":[],"sources":["../../../clis/args/common.ts"],"mappings":";;;;;;cAuBa,MAAA,EAAQ,KAAA;AAAA,cAER,SAAA;iBAMZ,6BAAA,CAAA,QAAA;;;;cAEY,SAAA;iBASZ,6BAAA,CAAA,QAAA;;;;;;;cAEY,kBAAA;0BA4BZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;;;;;cACY,wBAAA,EAAwB,OAAA,CAInC,6BAAA,CAJmC,QAAA;iBAAA,6BAAA,CAAA,YAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAKxB,QAAA,EAAQ,OAAA,CAKnB,6BAAA,CALmB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOR,YAAA,EAAY,OAAA,CAKvB,6BAAA,CALuB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOZ,oBAAA,EAAoB,OAAA,CAK/B,6BAAA,CAL+B,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOpB,YAAA,EAAY,OAAA,CAWvB,6BAAA,CAXuB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAaZ,aAAA,EAAa,OAAA,CAWxB,6BAAA,CAXwB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAab,KAAA,EAAK,OAAA,CAUhB,6BAAA,CAVgB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAYL,oBAAA;iBAiBZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;cAEY,gBAAA,EAAgB,OAAA,CAK3B,6BAAA,CAL2B,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOhB,QAAA,EAAQ,OAAA,CAOnB,6BAAA,CAPmB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cASR,eAAA,EAAe,OAAA,CAK1B,6BAAA,CAL0B,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOf,sBAAA,EAAsB,OAAA,CAMjC,6BAAA,CANiC,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAQtB,KAAA,EAAK,OAAA,CAKhB,6BAAA,CALgB,QAAA;iBAAA,6BAAA,CAAA,YAAA;;cAOL,UAAA;iBAUZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEY,gBAAA;gBA2CZ,6BAAA,CAAA,QAAA"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { _ as packageManagerArgs, a as connectBasePath, c as disableLocalPackages, d as getPackageManagerCommand, f as https, g as logLevel, h as localPackage, i as commonServerArgs, l as drivesPreserveStrategy, m as httpsKeyFile, n as buildArgs, o as debugArgs, p as httpsCertFile, r as commonArgs, s as defaultDrivesUrl, t as AGENTS, u as force, v as packages, y as vetraSwitchboardArgs } from "./common-
|
|
1
|
+
import { _ as packageManagerArgs, a as connectBasePath, c as disableLocalPackages, d as getPackageManagerCommand, f as https, g as logLevel, h as localPackage, i as commonServerArgs, l as drivesPreserveStrategy, m as httpsKeyFile, n as buildArgs, o as debugArgs, p as httpsCertFile, r as commonArgs, s as defaultDrivesUrl, t as AGENTS, u as force, v as packages, y as vetraSwitchboardArgs } from "./common-BQ2pvhCr.mjs";
|
|
2
2
|
export { AGENTS, buildArgs, commonArgs, commonServerArgs, connectBasePath, debugArgs, defaultDrivesUrl, disableLocalPackages, drivesPreserveStrategy, force, getPackageManagerCommand, https, httpsCertFile, httpsKeyFile, localPackage, logLevel, packageManagerArgs, packages, vetraSwitchboardArgs };
|
|
@@ -31,7 +31,7 @@ declare const connectStudioArgs: {
|
|
|
31
31
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
32
32
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
33
33
|
logLevel: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
34
|
-
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "
|
|
34
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "info" | "warn" | "error" | "verbose">>;
|
|
35
35
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
36
36
|
packages: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
37
37
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
|
@@ -63,7 +63,7 @@ declare const connectBuildArgs: {
|
|
|
63
63
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
64
64
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
65
65
|
logLevel: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
66
|
-
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "
|
|
66
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "info" | "warn" | "error" | "verbose">>;
|
|
67
67
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
68
68
|
packages: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
69
69
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
|
@@ -83,6 +83,9 @@ declare const connectBuildArgs: {
|
|
|
83
83
|
force: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
84
84
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<boolean | undefined>>;
|
|
85
85
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_argparser_js0.Register & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
86
|
+
dynamicBase: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
87
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<boolean | undefined>>;
|
|
88
|
+
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_argparser_js0.Register & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
86
89
|
keyPositional: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
87
90
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
|
88
91
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
@@ -176,7 +179,7 @@ declare const connectPreviewArgs: {
|
|
|
176
179
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
177
180
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
178
181
|
logLevel: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
179
|
-
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "
|
|
182
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "info" | "warn" | "error" | "verbose">>;
|
|
180
183
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
181
184
|
packages: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
182
185
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
|
@@ -208,7 +211,7 @@ declare const connectConfigArgs: {
|
|
|
208
211
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
209
212
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
210
213
|
logLevel: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
211
|
-
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "
|
|
214
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "info" | "warn" | "error" | "verbose">>;
|
|
212
215
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
213
216
|
defaultDrivesUrl: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
214
217
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
|
@@ -288,7 +291,7 @@ declare const connectArgs: {
|
|
|
288
291
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
289
292
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
290
293
|
logLevel: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
291
|
-
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "
|
|
294
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "info" | "warn" | "error" | "verbose">>;
|
|
292
295
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
293
296
|
defaultDrivesUrl: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
294
297
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
|
@@ -404,6 +407,9 @@ declare const connectArgs: {
|
|
|
404
407
|
outDir: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
405
408
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
406
409
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
410
|
+
dynamicBase: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
411
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<boolean | undefined>>;
|
|
412
|
+
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_argparser_js0.Register & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
407
413
|
};
|
|
408
414
|
//#endregion
|
|
409
415
|
export { connectArgs, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.d.mts","names":[],"sources":["../../../clis/args/connect.ts"],"mappings":";;;;
|
|
1
|
+
{"version":3,"file":"connect.d.mts","names":[],"sources":["../../../clis/args/connect.ts"],"mappings":";;;;cAyCa,iBAAA;gBAUZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAwIY,gBAAA;iBAiBZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEY,kBAAA;gBAiBZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA6BY,iBAAA;2BAmBZ,6BAAA,CAAA,QAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAEY,WAAA;2BAKZ,6BAAA,CAAA,QAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { C as DEFAULT_CONNECT_STUDIO_PORT, S as DEFAULT_CONNECT_PREVIEW_PORT, a as connectBasePath, g as logLevel, i as commonServerArgs, l as drivesPreserveStrategy, r as commonArgs, s as defaultDrivesUrl, x as DEFAULT_CONNECT_OUTDIR } from "./common-fPNESurz.mjs";
|
|
2
|
-
import { number, option, optional, positional, string } from "cmd-ts";
|
|
2
|
+
import { boolean, flag, number, option, optional, positional, string } from "cmd-ts";
|
|
3
3
|
//#region clis/args/connect.ts
|
|
4
4
|
const cliBoolean = {
|
|
5
5
|
from: (input) => {
|
|
@@ -135,6 +135,11 @@ const connectBuildArgs = {
|
|
|
135
135
|
}),
|
|
136
136
|
...connectRuntimeOverrideArgs,
|
|
137
137
|
...connectPositionalArgs,
|
|
138
|
+
dynamicBase: flag({
|
|
139
|
+
type: optional(boolean),
|
|
140
|
+
long: "dynamic-base",
|
|
141
|
+
description: "Build one bundle that serves under any subpath; base resolved at serve time from a runtime global. Overrides --base."
|
|
142
|
+
}),
|
|
138
143
|
...commonArgs
|
|
139
144
|
};
|
|
140
145
|
const connectPreviewArgs = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect.mjs","names":[],"sources":["../../../clis/args/connect.ts"],"sourcesContent":["import type { Type } from \"cmd-ts\";\nimport { number, option, optional, positional, string } from \"cmd-ts\";\nimport {\n DEFAULT_CONNECT_OUTDIR,\n DEFAULT_CONNECT_PREVIEW_PORT,\n DEFAULT_CONNECT_STUDIO_PORT,\n} from \"../constants.js\";\nimport {\n commonArgs,\n commonServerArgs,\n connectBasePath,\n defaultDrivesUrl,\n drivesPreserveStrategy,\n logLevel,\n} from \"./common.js\";\n\n// cmd-ts's built-in `boolean` is intended for `flag()` (presence/absence). With\n// `option()` we need to parse the next argv as a value, but cmd-ts's `boolean`\n// does not coerce the string. This custom Type does.\nconst cliBoolean: Type<string, boolean> = {\n from: (input) => {\n const v = input.toLowerCase();\n if (v === \"true\") return Promise.resolve(true);\n if (v === \"false\") return Promise.resolve(false);\n return Promise.reject(\n new Error(\n `Expected 'true' or 'false' (case-insensitive), got '${input}'.`,\n ),\n );\n },\n description: \"true | false\",\n};\n\nexport const connectStudioArgs = {\n port: option({\n type: number,\n long: \"port\",\n description: \"Port to run the dev server on.\",\n defaultValue: () => DEFAULT_CONNECT_STUDIO_PORT,\n defaultValueIsSerializable: true,\n }),\n ...commonArgs,\n ...commonServerArgs,\n};\n\n// Runtime-config override flags. Each is optional with no default — undefined\n// means \"user did not pass this flag\", so runConnectBuild can include only\n// explicitly-set values in `cliConnectOverride` and avoid clobbering source\n// `powerhouse.config.json` values when no override was intended.\n//\n// These flags occupy the top of the precedence ladder for the runtime config\n// emitted into `dist/powerhouse.config.json`:\n//\n// DEFAULT_CONNECT_CONFIG < source connect.* < --json < individual --flag\n//\n// `--json` accepts a partial `connect.*` blob (e.g. `{\"renown\":{\"url\":\"...\"}}`).\n// Individual flags merge on top of `--json` inside the same CLI layer, so they\n// win on collision. Env vars are NOT part of this build-time merge; they only\n// seed the dist file at container start (set-if-absent) via the Docker\n// entrypoint.\nconst connectRuntimeOverrideArgs = {\n json: option({\n type: optional(string),\n long: \"json\",\n description:\n 'Inline JSON override for the runtime connect.* block, e.g. \\'{\"renown\":{\"url\":\"...\"}}\\'. Validated against the runtime schema; deep-merged on top of env seeds and source powerhouse.config.json. Individual --flag values beat --json on collision.',\n }),\n renownUrl: option({\n type: optional(string),\n long: \"renown-url\",\n description: \"Override connect.renown.url.\",\n }),\n renownNetworkId: option({\n type: optional(string),\n long: \"renown-network-id\",\n description: \"Override connect.renown.networkId.\",\n }),\n renownChainId: option({\n type: optional(number),\n long: \"renown-chain-id\",\n description: \"Override connect.renown.chainId.\",\n }),\n allowAddDrive: option({\n type: optional(cliBoolean),\n long: \"allow-add-drive\",\n description:\n \"Override connect.drives.allowAddDrive (top-level add-drive toggle).\",\n }),\n externalPackages: option({\n type: optional(cliBoolean),\n long: \"external-packages\",\n description: \"Override connect.packages.externalEnabled.\",\n }),\n remoteDrivesEnabled: option({\n type: optional(cliBoolean),\n long: \"remote-drives-enabled\",\n description:\n \"Override connect.drives.sections.remote.enabled (the unified cloud+public section).\",\n }),\n remoteDrivesAllowAdd: option({\n type: optional(cliBoolean),\n long: \"remote-drives-allow-add\",\n description: \"Override connect.drives.sections.remote.allowAdd.\",\n }),\n remoteDrivesAllowDelete: option({\n type: optional(cliBoolean),\n long: \"remote-drives-allow-delete\",\n description: \"Override connect.drives.sections.remote.allowDelete.\",\n }),\n localDrivesEnabled: option({\n type: optional(cliBoolean),\n long: \"local-drives-enabled\",\n description: \"Override connect.drives.sections.local.enabled.\",\n }),\n localDrivesAllowAdd: option({\n type: optional(cliBoolean),\n long: \"local-drives-allow-add\",\n description: \"Override connect.drives.sections.local.allowAdd.\",\n }),\n localDrivesAllowDelete: option({\n type: optional(cliBoolean),\n long: \"local-drives-allow-delete\",\n description: \"Override connect.drives.sections.local.allowDelete.\",\n }),\n packagesRegistry: option({\n type: optional(string),\n long: \"packages-registry\",\n description: \"Override the top-level packageRegistryUrl.\",\n }),\n appName: option({\n type: optional(string),\n long: \"app-name\",\n description: \"Override connect.branding.appName.\",\n }),\n homeBackground: option({\n type: optional(string),\n long: \"home-background\",\n description:\n 'Override connect.branding.homeBackground. URL or path to an image; pass an empty string (\"\") to reset to the bundled default.',\n }),\n sentryDsn: option({\n type: optional(string),\n long: \"sentry-dsn\",\n description:\n 'Override connect.sentry.dsn (Sentry DSN URL). Pass an empty string (\"\") to set null and disable Sentry.',\n }),\n sentryEnv: option({\n type: optional(string),\n long: \"sentry-env\",\n description: \"Override connect.sentry.env (Sentry environment label).\",\n }),\n sentryTracingEnabled: option({\n type: optional(cliBoolean),\n long: \"sentry-tracing-enabled\",\n description:\n \"Override connect.sentry.tracing (Sentry performance tracing).\",\n }),\n};\n\n// Positional pair shared by `ph connect build` and `ph connect config`. Both\n// commands accept `<key> <value>` to set a single runtime-config field; `config`\n// additionally accepts `<key>` alone for read-mode (`build` rejects the\n// 1-positional case because it has no read semantics). Both are optional in the\n// parser; the handler enforces the per-command shape.\nconst connectPositionalArgs = {\n keyPositional: positional({\n type: optional(string),\n displayName: \"key\",\n description:\n \"Dotted path inside the runtime config (e.g. connect.renown.url). Pair with <value> to set; pass alone to `ph connect config` to read.\",\n }),\n valuePositional: positional({\n type: optional(string),\n displayName: \"value\",\n description:\n \"Value to set at <key>. Coerced against the runtime schema (string, bool, number, enum). Arrays and objects require --json instead.\",\n }),\n};\n\nexport const connectBuildArgs = {\n outDir: option({\n type: string,\n long: \"outDir\",\n description: \"Output directory\",\n defaultValue: () => DEFAULT_CONNECT_OUTDIR,\n defaultValueIsSerializable: true,\n }),\n ...connectRuntimeOverrideArgs,\n ...connectPositionalArgs,\n ...commonArgs,\n};\n\nexport const connectPreviewArgs = {\n port: option({\n type: number,\n long: \"port\",\n description: \"Port to run the preview server on.\",\n defaultValue: () => DEFAULT_CONNECT_PREVIEW_PORT,\n defaultValueIsSerializable: true,\n }),\n outDir: option({\n type: string,\n long: \"outDir\",\n description: \"Output directory\",\n defaultValue: () => DEFAULT_CONNECT_OUTDIR,\n defaultValueIsSerializable: true,\n }),\n ...commonArgs,\n ...commonServerArgs,\n};\n\n// `ph connect config` — read, set, or list the runtime config under the\n// `connect.*` block of the dist `powerhouse.config.json`.\n//\n// Mode matrix (exactly one mode per invocation; mutex enforced in\n// `runConnectConfig`):\n//\n// ph connect config → list (print effective merged config)\n// ph connect config <key> → get one value at the dotted key (positional)\n// ph connect config --get <dotted.path> → same as positional <key> (kept for backward compat)\n// ph connect config <key> <value> → set + dual-write to source + dist (positional)\n// ph connect config --<field> <value> → set + dual-write via per-field flag\n// ph connect config --json '{\"…\":\"…\"}' → bulk set + dual-write\n//\n// The 15 field flags below come from `connectRuntimeOverrideArgs`, so\n// `config` and `build` share an identical surface for runtime fields. The 4\n// flags imported individually from `common.ts` (`connectBasePath` /\n// `logLevel` / `defaultDrivesUrl` / `drivesPreserveStrategy`) extend that to\n// 19-flag coverage. The positional `<key>`/`<value>` pair is also shared with\n// `ph connect build` so both commands accept the same set-mode grammar.\n// `--dist-dir` lets Docker / non-default deployments point at a custom dist\n// location; falls back to PH_CONNECT_OUTDIR env, then to the standard\n// `.ph/connect-build/dist/` path.\n//\n// NOTE: the 4 commonArgs flags have built-in cmd-ts defaults\n// (e.g. logLevel=\"info\"), so always parse as defined. The service detects\n// \"user explicitly passed this flag\" via process.argv inspection — see\n// `clis/ph-cli/src/utils/cli-connect-override.ts:wasFlagExplicitlyPassed`.\nexport const connectConfigArgs = {\n get: option({\n type: optional(string),\n long: \"get\",\n description:\n 'Dotted path inside connect.* (e.g. \"connect.renown.url\") to read the effective value. Mutually exclusive with the set modes. Equivalent to `ph connect config <key>` (positional).',\n }),\n distDir: option({\n type: optional(string),\n long: \"dist-dir\",\n description:\n \"Path to the directory containing the dist powerhouse.config.json. Defaults to the PH_CONNECT_OUTDIR env or `.ph/connect-build/dist/`.\",\n }),\n ...connectRuntimeOverrideArgs,\n ...connectPositionalArgs,\n connectBasePath,\n logLevel,\n defaultDrivesUrl,\n drivesPreserveStrategy,\n};\n\nexport const connectArgs = {\n ...connectStudioArgs,\n ...connectBuildArgs,\n ...connectPreviewArgs,\n ...connectConfigArgs,\n};\n"],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"connect.mjs","names":[],"sources":["../../../clis/args/connect.ts"],"sourcesContent":["import type { Type } from \"cmd-ts\";\nimport {\n boolean,\n flag,\n number,\n option,\n optional,\n positional,\n string,\n} from \"cmd-ts\";\nimport {\n DEFAULT_CONNECT_OUTDIR,\n DEFAULT_CONNECT_PREVIEW_PORT,\n DEFAULT_CONNECT_STUDIO_PORT,\n} from \"../constants.js\";\nimport {\n commonArgs,\n commonServerArgs,\n connectBasePath,\n defaultDrivesUrl,\n drivesPreserveStrategy,\n logLevel,\n} from \"./common.js\";\n\n// cmd-ts's built-in `boolean` is intended for `flag()` (presence/absence). With\n// `option()` we need to parse the next argv as a value, but cmd-ts's `boolean`\n// does not coerce the string. This custom Type does.\nconst cliBoolean: Type<string, boolean> = {\n from: (input) => {\n const v = input.toLowerCase();\n if (v === \"true\") return Promise.resolve(true);\n if (v === \"false\") return Promise.resolve(false);\n return Promise.reject(\n new Error(\n `Expected 'true' or 'false' (case-insensitive), got '${input}'.`,\n ),\n );\n },\n description: \"true | false\",\n};\n\nexport const connectStudioArgs = {\n port: option({\n type: number,\n long: \"port\",\n description: \"Port to run the dev server on.\",\n defaultValue: () => DEFAULT_CONNECT_STUDIO_PORT,\n defaultValueIsSerializable: true,\n }),\n ...commonArgs,\n ...commonServerArgs,\n};\n\n// Runtime-config override flags. Each is optional with no default — undefined\n// means \"user did not pass this flag\", so runConnectBuild can include only\n// explicitly-set values in `cliConnectOverride` and avoid clobbering source\n// `powerhouse.config.json` values when no override was intended.\n//\n// These flags occupy the top of the precedence ladder for the runtime config\n// emitted into `dist/powerhouse.config.json`:\n//\n// DEFAULT_CONNECT_CONFIG < source connect.* < --json < individual --flag\n//\n// `--json` accepts a partial `connect.*` blob (e.g. `{\"renown\":{\"url\":\"...\"}}`).\n// Individual flags merge on top of `--json` inside the same CLI layer, so they\n// win on collision. Env vars are NOT part of this build-time merge; they only\n// seed the dist file at container start (set-if-absent) via the Docker\n// entrypoint.\nconst connectRuntimeOverrideArgs = {\n json: option({\n type: optional(string),\n long: \"json\",\n description:\n 'Inline JSON override for the runtime connect.* block, e.g. \\'{\"renown\":{\"url\":\"...\"}}\\'. Validated against the runtime schema; deep-merged on top of env seeds and source powerhouse.config.json. Individual --flag values beat --json on collision.',\n }),\n renownUrl: option({\n type: optional(string),\n long: \"renown-url\",\n description: \"Override connect.renown.url.\",\n }),\n renownNetworkId: option({\n type: optional(string),\n long: \"renown-network-id\",\n description: \"Override connect.renown.networkId.\",\n }),\n renownChainId: option({\n type: optional(number),\n long: \"renown-chain-id\",\n description: \"Override connect.renown.chainId.\",\n }),\n allowAddDrive: option({\n type: optional(cliBoolean),\n long: \"allow-add-drive\",\n description:\n \"Override connect.drives.allowAddDrive (top-level add-drive toggle).\",\n }),\n externalPackages: option({\n type: optional(cliBoolean),\n long: \"external-packages\",\n description: \"Override connect.packages.externalEnabled.\",\n }),\n remoteDrivesEnabled: option({\n type: optional(cliBoolean),\n long: \"remote-drives-enabled\",\n description:\n \"Override connect.drives.sections.remote.enabled (the unified cloud+public section).\",\n }),\n remoteDrivesAllowAdd: option({\n type: optional(cliBoolean),\n long: \"remote-drives-allow-add\",\n description: \"Override connect.drives.sections.remote.allowAdd.\",\n }),\n remoteDrivesAllowDelete: option({\n type: optional(cliBoolean),\n long: \"remote-drives-allow-delete\",\n description: \"Override connect.drives.sections.remote.allowDelete.\",\n }),\n localDrivesEnabled: option({\n type: optional(cliBoolean),\n long: \"local-drives-enabled\",\n description: \"Override connect.drives.sections.local.enabled.\",\n }),\n localDrivesAllowAdd: option({\n type: optional(cliBoolean),\n long: \"local-drives-allow-add\",\n description: \"Override connect.drives.sections.local.allowAdd.\",\n }),\n localDrivesAllowDelete: option({\n type: optional(cliBoolean),\n long: \"local-drives-allow-delete\",\n description: \"Override connect.drives.sections.local.allowDelete.\",\n }),\n packagesRegistry: option({\n type: optional(string),\n long: \"packages-registry\",\n description: \"Override the top-level packageRegistryUrl.\",\n }),\n appName: option({\n type: optional(string),\n long: \"app-name\",\n description: \"Override connect.branding.appName.\",\n }),\n homeBackground: option({\n type: optional(string),\n long: \"home-background\",\n description:\n 'Override connect.branding.homeBackground. URL or path to an image; pass an empty string (\"\") to reset to the bundled default.',\n }),\n sentryDsn: option({\n type: optional(string),\n long: \"sentry-dsn\",\n description:\n 'Override connect.sentry.dsn (Sentry DSN URL). Pass an empty string (\"\") to set null and disable Sentry.',\n }),\n sentryEnv: option({\n type: optional(string),\n long: \"sentry-env\",\n description: \"Override connect.sentry.env (Sentry environment label).\",\n }),\n sentryTracingEnabled: option({\n type: optional(cliBoolean),\n long: \"sentry-tracing-enabled\",\n description:\n \"Override connect.sentry.tracing (Sentry performance tracing).\",\n }),\n};\n\n// Positional pair shared by `ph connect build` and `ph connect config`. Both\n// commands accept `<key> <value>` to set a single runtime-config field; `config`\n// additionally accepts `<key>` alone for read-mode (`build` rejects the\n// 1-positional case because it has no read semantics). Both are optional in the\n// parser; the handler enforces the per-command shape.\nconst connectPositionalArgs = {\n keyPositional: positional({\n type: optional(string),\n displayName: \"key\",\n description:\n \"Dotted path inside the runtime config (e.g. connect.renown.url). Pair with <value> to set; pass alone to `ph connect config` to read.\",\n }),\n valuePositional: positional({\n type: optional(string),\n displayName: \"value\",\n description:\n \"Value to set at <key>. Coerced against the runtime schema (string, bool, number, enum). Arrays and objects require --json instead.\",\n }),\n};\n\nexport const connectBuildArgs = {\n outDir: option({\n type: string,\n long: \"outDir\",\n description: \"Output directory\",\n defaultValue: () => DEFAULT_CONNECT_OUTDIR,\n defaultValueIsSerializable: true,\n }),\n ...connectRuntimeOverrideArgs,\n ...connectPositionalArgs,\n dynamicBase: flag({\n type: optional(boolean),\n long: \"dynamic-base\",\n description:\n \"Build one bundle that serves under any subpath; base resolved at serve time from a runtime global. Overrides --base.\",\n }),\n ...commonArgs,\n};\n\nexport const connectPreviewArgs = {\n port: option({\n type: number,\n long: \"port\",\n description: \"Port to run the preview server on.\",\n defaultValue: () => DEFAULT_CONNECT_PREVIEW_PORT,\n defaultValueIsSerializable: true,\n }),\n outDir: option({\n type: string,\n long: \"outDir\",\n description: \"Output directory\",\n defaultValue: () => DEFAULT_CONNECT_OUTDIR,\n defaultValueIsSerializable: true,\n }),\n ...commonArgs,\n ...commonServerArgs,\n};\n\n// `ph connect config` — read, set, or list the runtime config under the\n// `connect.*` block of the dist `powerhouse.config.json`.\n//\n// Mode matrix (exactly one mode per invocation; mutex enforced in\n// `runConnectConfig`):\n//\n// ph connect config → list (print effective merged config)\n// ph connect config <key> → get one value at the dotted key (positional)\n// ph connect config --get <dotted.path> → same as positional <key> (kept for backward compat)\n// ph connect config <key> <value> → set + dual-write to source + dist (positional)\n// ph connect config --<field> <value> → set + dual-write via per-field flag\n// ph connect config --json '{\"…\":\"…\"}' → bulk set + dual-write\n//\n// The 15 field flags below come from `connectRuntimeOverrideArgs`, so\n// `config` and `build` share an identical surface for runtime fields. The 4\n// flags imported individually from `common.ts` (`connectBasePath` /\n// `logLevel` / `defaultDrivesUrl` / `drivesPreserveStrategy`) extend that to\n// 19-flag coverage. The positional `<key>`/`<value>` pair is also shared with\n// `ph connect build` so both commands accept the same set-mode grammar.\n// `--dist-dir` lets Docker / non-default deployments point at a custom dist\n// location; falls back to PH_CONNECT_OUTDIR env, then to the standard\n// `.ph/connect-build/dist/` path.\n//\n// NOTE: the 4 commonArgs flags have built-in cmd-ts defaults\n// (e.g. logLevel=\"info\"), so always parse as defined. The service detects\n// \"user explicitly passed this flag\" via process.argv inspection — see\n// `clis/ph-cli/src/utils/cli-connect-override.ts:wasFlagExplicitlyPassed`.\nexport const connectConfigArgs = {\n get: option({\n type: optional(string),\n long: \"get\",\n description:\n 'Dotted path inside connect.* (e.g. \"connect.renown.url\") to read the effective value. Mutually exclusive with the set modes. Equivalent to `ph connect config <key>` (positional).',\n }),\n distDir: option({\n type: optional(string),\n long: \"dist-dir\",\n description:\n \"Path to the directory containing the dist powerhouse.config.json. Defaults to the PH_CONNECT_OUTDIR env or `.ph/connect-build/dist/`.\",\n }),\n ...connectRuntimeOverrideArgs,\n ...connectPositionalArgs,\n connectBasePath,\n logLevel,\n defaultDrivesUrl,\n drivesPreserveStrategy,\n};\n\nexport const connectArgs = {\n ...connectStudioArgs,\n ...connectBuildArgs,\n ...connectPreviewArgs,\n ...connectConfigArgs,\n};\n"],"mappings":"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"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { accessTokenArgs } from "./access-token.mjs";
|
|
2
|
-
import { _ as packageManagerArgs, a as connectBasePath, c as disableLocalPackages, d as getPackageManagerCommand, f as https, g as logLevel, h as localPackage, i as commonServerArgs, l as drivesPreserveStrategy, m as httpsKeyFile, n as buildArgs, o as debugArgs, p as httpsCertFile, r as commonArgs, s as defaultDrivesUrl, t as AGENTS, u as force, v as packages, y as vetraSwitchboardArgs } from "./common-
|
|
2
|
+
import { _ as packageManagerArgs, a as connectBasePath, c as disableLocalPackages, d as getPackageManagerCommand, f as https, g as logLevel, h as localPackage, i as commonServerArgs, l as drivesPreserveStrategy, m as httpsKeyFile, n as buildArgs, o as debugArgs, p as httpsCertFile, r as commonArgs, s as defaultDrivesUrl, t as AGENTS, u as force, v as packages, y as vetraSwitchboardArgs } from "./common-BQ2pvhCr.mjs";
|
|
3
3
|
import { connectArgs, connectBuildArgs, connectConfigArgs, connectPreviewArgs, connectStudioArgs } from "./connect.mjs";
|
|
4
4
|
import { generateArgs } from "./generate.mjs";
|
|
5
5
|
import { n as phCliCommandNames, t as phCliHelpCommands } from "./help-CYjFrzIJ.mjs";
|
|
@@ -49,7 +49,7 @@ declare const vetraArgs: {
|
|
|
49
49
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
50
50
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
51
51
|
logLevel: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
52
|
-
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "
|
|
52
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<"debug" | "info" | "warn" | "error" | "verbose">>;
|
|
53
53
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
54
54
|
packages: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
55
55
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
package/dist/clis/index.d.mts
CHANGED
|
@@ -272,6 +272,9 @@ declare const connectBuildArgs: {
|
|
|
272
272
|
force: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
273
273
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<boolean | undefined>>;
|
|
274
274
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_argparser_js0.Register & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
275
|
+
dynamicBase: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
276
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<boolean | undefined>>;
|
|
277
|
+
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_argparser_js0.Register & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
275
278
|
keyPositional: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
276
279
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string | undefined>>;
|
|
277
280
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
@@ -593,6 +596,9 @@ declare const connectArgs: {
|
|
|
593
596
|
outDir: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
594
597
|
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<string>>;
|
|
595
598
|
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
599
|
+
dynamicBase: Partial<cmd_ts_dist_cjs_argparser_js0.Register> & {
|
|
600
|
+
parse(context: cmd_ts_dist_cjs_argparser_js0.ParseContext): Promise<cmd_ts_dist_cjs_argparser_js0.ParsingResult<boolean | undefined>>;
|
|
601
|
+
} & cmd_ts_dist_cjs_helpdoc_js0.ProvidesHelp & cmd_ts_dist_cjs_argparser_js0.Register & Partial<cmd_ts_dist_cjs_helpdoc_js0.Descriptive>;
|
|
596
602
|
};
|
|
597
603
|
//#endregion
|
|
598
604
|
//#region clis/args/generate.d.ts
|