@shell-shock/core 0.8.12 → 0.9.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/dist/api.cjs +34 -0
- package/dist/api.cjs.map +1 -1
- package/dist/api.mjs +34 -0
- package/dist/api.mjs.map +1 -1
- package/dist/components/docs.d.cts +5 -5
- package/dist/components/docs.d.cts.map +1 -1
- package/dist/components/docs.d.mts +5 -5
- package/dist/components/helpers.d.cts +6 -6
- package/dist/components/helpers.d.cts.map +1 -1
- package/dist/components/helpers.d.mts +6 -6
- package/dist/components/index.cjs +1 -0
- package/dist/components/index.d.cts +2 -2
- package/dist/components/index.d.mts +2 -2
- package/dist/components/index.mjs +2 -2
- package/dist/components/options-parser-logic.d.cts +9 -9
- package/dist/components/options-parser-logic.d.cts.map +1 -1
- package/dist/components/options-parser-logic.d.mts +9 -9
- package/dist/components/usage.d.cts +2 -2
- package/dist/components/usage.d.cts.map +1 -1
- package/dist/components/usage.d.mts +2 -2
- package/dist/components/usage.d.mts.map +1 -1
- package/dist/components/utils-builtin.cjs +341 -0
- package/dist/components/utils-builtin.cjs.map +1 -1
- package/dist/components/utils-builtin.d.cts +5 -1
- package/dist/components/utils-builtin.d.cts.map +1 -1
- package/dist/components/utils-builtin.d.mts +12 -8
- package/dist/components/utils-builtin.d.mts.map +1 -1
- package/dist/components/utils-builtin.mjs +342 -2
- package/dist/components/utils-builtin.mjs.map +1 -1
- package/dist/config.cjs +12 -0
- package/dist/config.cjs.map +1 -1
- package/dist/config.mjs +12 -0
- package/dist/config.mjs.map +1 -1
- package/dist/contexts/command.cjs +3 -2
- package/dist/contexts/command.cjs.map +1 -1
- package/dist/contexts/command.mjs +3 -2
- package/dist/contexts/command.mjs.map +1 -1
- package/dist/contexts/options.cjs +20 -4
- package/dist/contexts/options.cjs.map +1 -1
- package/dist/contexts/options.mjs +20 -4
- package/dist/contexts/options.mjs.map +1 -1
- package/dist/helpers/docs-helpers.cjs +6 -0
- package/dist/helpers/docs-helpers.cjs.map +1 -1
- package/dist/helpers/docs-helpers.mjs +6 -0
- package/dist/helpers/docs-helpers.mjs.map +1 -1
- package/dist/helpers/persistence.cjs +92 -11
- package/dist/helpers/persistence.cjs.map +1 -1
- package/dist/helpers/persistence.mjs +92 -11
- package/dist/helpers/persistence.mjs.map +1 -1
- package/dist/helpers/resolve-command.cjs +200 -18
- package/dist/helpers/resolve-command.cjs.map +1 -1
- package/dist/helpers/resolve-command.mjs +201 -19
- package/dist/helpers/resolve-command.mjs.map +1 -1
- package/dist/helpers/update-package-json.cjs +27 -3
- package/dist/helpers/update-package-json.cjs.map +1 -1
- package/dist/helpers/update-package-json.mjs +27 -3
- package/dist/helpers/update-package-json.mjs.map +1 -1
- package/dist/helpers/utilities.cjs +58 -4
- package/dist/helpers/utilities.cjs.map +1 -1
- package/dist/helpers/utilities.mjs +58 -4
- package/dist/helpers/utilities.mjs.map +1 -1
- package/dist/helpers/validations.cjs +28 -1
- package/dist/helpers/validations.cjs.map +1 -1
- package/dist/helpers/validations.mjs +28 -1
- package/dist/helpers/validations.mjs.map +1 -1
- package/dist/index.cjs +33 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/dist/index.mjs +6 -1
- package/dist/index.mjs.map +1 -1
- package/dist/plugin-utils/context-helpers.cjs +78 -3
- package/dist/plugin-utils/context-helpers.cjs.map +1 -1
- package/dist/plugin-utils/context-helpers.mjs +78 -3
- package/dist/plugin-utils/context-helpers.mjs.map +1 -1
- package/dist/plugin-utils/get-command-tree.cjs +17 -1
- package/dist/plugin-utils/get-command-tree.cjs.map +1 -1
- package/dist/plugin-utils/get-command-tree.mjs +17 -1
- package/dist/plugin-utils/get-command-tree.mjs.map +1 -1
- package/dist/plugin-utils/reflect.cjs +31 -3
- package/dist/plugin-utils/reflect.cjs.map +1 -1
- package/dist/plugin-utils/reflect.mjs +31 -3
- package/dist/plugin-utils/reflect.mjs.map +1 -1
- package/dist/plugin-utils/traverse-command-tree.cjs +34 -4
- package/dist/plugin-utils/traverse-command-tree.cjs.map +1 -1
- package/dist/plugin-utils/traverse-command-tree.mjs +34 -4
- package/dist/plugin-utils/traverse-command-tree.mjs.map +1 -1
- package/dist/plugin.cjs +5 -1
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.d.cts.map +1 -1
- package/dist/plugin.d.mts.map +1 -1
- package/dist/plugin.mjs +5 -1
- package/dist/plugin.mjs.map +1 -1
- package/dist/types/command.cjs +241 -0
- package/dist/types/command.cjs.map +1 -0
- package/dist/types/command.mjs +221 -1
- package/dist/types/command.mjs.map +1 -0
- package/dist/types/config.cjs +114 -0
- package/dist/types/config.cjs.map +1 -0
- package/dist/types/config.d.cts +11 -10
- package/dist/types/config.d.cts.map +1 -1
- package/dist/types/config.d.mts +11 -10
- package/dist/types/config.d.mts.map +1 -1
- package/dist/types/config.mjs +110 -1
- package/dist/types/config.mjs.map +1 -0
- package/dist/types/context.cjs +33 -0
- package/dist/types/context.cjs.map +1 -0
- package/dist/types/context.mjs +31 -1
- package/dist/types/context.mjs.map +1 -0
- package/dist/types/env.cjs +12 -0
- package/dist/types/env.cjs.map +1 -0
- package/dist/types/env.d.cts +17 -0
- package/dist/types/env.d.cts.map +1 -0
- package/dist/types/env.d.mts +17 -0
- package/dist/types/env.d.mts.map +1 -0
- package/dist/types/env.mjs +11 -0
- package/dist/types/env.mjs.map +1 -0
- package/dist/types/index.cjs +34 -0
- package/dist/types/index.d.cts +2 -2
- package/dist/types/index.d.mts +2 -2
- package/dist/types/index.mjs +7 -1
- package/dist/types/options.cjs +12 -0
- package/dist/types/options.cjs.map +1 -0
- package/dist/types/options.mjs +11 -1
- package/dist/types/options.mjs.map +1 -0
- package/dist/types/runtime.cjs +12 -0
- package/dist/types/runtime.cjs.map +1 -0
- package/dist/types/runtime.mjs +11 -1
- package/dist/types/runtime.mjs.map +1 -0
- package/package.json +25 -11
package/dist/api.cjs
CHANGED
|
@@ -3,6 +3,11 @@ const require_plugin = require('./plugin.cjs');
|
|
|
3
3
|
let powerlines = require("powerlines");
|
|
4
4
|
|
|
5
5
|
//#region src/api.ts
|
|
6
|
+
const __ΩPartial = [
|
|
7
|
+
"T",
|
|
8
|
+
"Partial",
|
|
9
|
+
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
10
|
+
];
|
|
6
11
|
/**
|
|
7
12
|
* The Shell Shock API class.
|
|
8
13
|
*
|
|
@@ -39,6 +44,26 @@ var ShellShockAPI = class ShellShockAPI {
|
|
|
39
44
|
async finalize() {
|
|
40
45
|
return this.#powerlines.finalize();
|
|
41
46
|
}
|
|
47
|
+
static __type = [
|
|
48
|
+
"PowerlinesAPI",
|
|
49
|
+
"#powerlines",
|
|
50
|
+
"UserConfig",
|
|
51
|
+
"config",
|
|
52
|
+
() => ({}),
|
|
53
|
+
() => ShellShockAPI,
|
|
54
|
+
"from",
|
|
55
|
+
"powerlines",
|
|
56
|
+
"constructor",
|
|
57
|
+
"inlineConfig",
|
|
58
|
+
"clean",
|
|
59
|
+
"prepare",
|
|
60
|
+
"lint",
|
|
61
|
+
"build",
|
|
62
|
+
"docs",
|
|
63
|
+
"finalize",
|
|
64
|
+
"ShellShockAPI",
|
|
65
|
+
"\"w!3\"P\"w#2$>%P7&`0'sP\"w!2(\"0)P!2*$`0+P!2*$`0,P!2*$`0-P!2*$`0.P!2*$`0/P$`005w1"
|
|
66
|
+
];
|
|
42
67
|
};
|
|
43
68
|
/**
|
|
44
69
|
* Creates a new {@link ShellShockAPI} instance.
|
|
@@ -50,6 +75,15 @@ async function createShellShock(options = {}) {
|
|
|
50
75
|
options.root ??= process.cwd();
|
|
51
76
|
return ShellShockAPI.from(options);
|
|
52
77
|
}
|
|
78
|
+
createShellShock.__type = [
|
|
79
|
+
() => __ΩPartial,
|
|
80
|
+
"UserConfig",
|
|
81
|
+
"options",
|
|
82
|
+
() => ({}),
|
|
83
|
+
() => ShellShockAPI,
|
|
84
|
+
"createShellShock",
|
|
85
|
+
"P\"w\"o!\"2#>$P7%`/&"
|
|
86
|
+
];
|
|
53
87
|
|
|
54
88
|
//#endregion
|
|
55
89
|
exports.ShellShockAPI = ShellShockAPI;
|
package/dist/api.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.cjs","names":[
|
|
1
|
+
{"version":3,"file":"api.cjs","names":[],"sources":["../src/api.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createPowerlines } from \"powerlines\";\nimport type { PowerlinesAPI } from \"powerlines/api\";\nimport type {\n BuildInlineConfig,\n CleanInlineConfig,\n DocsInlineConfig,\n LintInlineConfig,\n PluginConfig,\n PrepareInlineConfig\n} from \"powerlines/types/config\";\nimport { plugin } from \"./plugin\";\nimport type { UserConfig } from \"./types/config\";\n\n/**\n * The Shell Shock API class.\n *\n * @remarks\n * This class provides methods to interact with the Shell Shock build system, including cleaning, preparing, linting, building, generating documentation, and finalizing projects.\n */\nexport class ShellShockAPI {\n #powerlines: PowerlinesAPI;\n\n public static async from(config: UserConfig = {}): Promise<ShellShockAPI> {\n const powerlines = await createPowerlines({\n framework: \"shell-shock\",\n ...config,\n plugins: [plugin(), ...(config.plugins ?? [])] as PluginConfig<any>[]\n });\n\n return new ShellShockAPI(powerlines);\n }\n\n private constructor(powerlines: PowerlinesAPI) {\n this.#powerlines = powerlines;\n }\n\n public async clean(inlineConfig: CleanInlineConfig): Promise<void> {\n return this.#powerlines.clean(inlineConfig);\n }\n\n public async prepare(inlineConfig: PrepareInlineConfig): Promise<void> {\n return this.#powerlines.prepare(inlineConfig);\n }\n\n public async lint(inlineConfig: LintInlineConfig): Promise<void> {\n return this.#powerlines.lint(inlineConfig);\n }\n\n public async build(inlineConfig: BuildInlineConfig): Promise<void> {\n return this.#powerlines.build(inlineConfig);\n }\n\n public async docs(inlineConfig: DocsInlineConfig): Promise<void> {\n return this.#powerlines.docs(inlineConfig);\n }\n\n public async finalize(): Promise<void> {\n return this.#powerlines.finalize();\n }\n}\n\n/**\n * Creates a new {@link ShellShockAPI} instance.\n *\n * @param options - The user configuration options.\n * @returns A promise that resolves to a {@link ShellShockAPI} instance.\n */\nexport async function createShellShock(\n options: Partial<UserConfig> = {}\n): Promise<ShellShockAPI> {\n options.root ??= process.cwd();\n\n return ShellShockAPI.from(options);\n}\n"],"mappings":";;;;;AAAA,MAAM,aAAa;CAAC;CAAK;CAAW;CAA2B;;;;;;;AA0B/D,IAAa,gBAAb,MAAa,cAAO;CAChB;CACA,aAAa,KAAK,SAAS,EAAE,EAAA;AAMzB,SAAE,IAAA,cALiB,uCAAqB;;GAE9C,GAAA;GACU,SAAS,CAAC,uBAAM,EAAA,GAAA,OAAA,WAAA,EAAA,CAAA;GAC3B,CAAA,CACS;;CAER,YAAA,cAAA;AACM,QAAK,aAAc;;;AAGnB,SAAO,MAAK,WAAY,MAAM,aAAa;;CAE/C,MAAM,QAAQ,cAAY;AACtB,SAAO,MAAA,WAAA,QAAA,aAAA;;CAEX,MAAE,KAAA,cAAA;;;CAGJ,MAAA,MAAA,cAAA;;;CAGE,MAAM,KAAK,cAAc;AAC3B,SAAA,MAAA,WAAA,KAAA,aAAA;;CAEE,MAAM,WAAW;AACb,SAAO,MAAK,WAAY,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWtC,SAAQ,SAAS,QAAQ,KAAK;AAC9B,QAAO,cAAc,KAAK,QAAQ"}
|
package/dist/api.mjs
CHANGED
|
@@ -2,6 +2,11 @@ import { plugin } from "./plugin.mjs";
|
|
|
2
2
|
import { createPowerlines } from "powerlines";
|
|
3
3
|
|
|
4
4
|
//#region src/api.ts
|
|
5
|
+
const __ΩPartial = [
|
|
6
|
+
"T",
|
|
7
|
+
"Partial",
|
|
8
|
+
"l+e#!e\"!fRb!Pde\"!gN#\"w\"y"
|
|
9
|
+
];
|
|
5
10
|
/**
|
|
6
11
|
* The Shell Shock API class.
|
|
7
12
|
*
|
|
@@ -38,6 +43,26 @@ var ShellShockAPI = class ShellShockAPI {
|
|
|
38
43
|
async finalize() {
|
|
39
44
|
return this.#powerlines.finalize();
|
|
40
45
|
}
|
|
46
|
+
static __type = [
|
|
47
|
+
"PowerlinesAPI",
|
|
48
|
+
"#powerlines",
|
|
49
|
+
"UserConfig",
|
|
50
|
+
"config",
|
|
51
|
+
() => ({}),
|
|
52
|
+
() => ShellShockAPI,
|
|
53
|
+
"from",
|
|
54
|
+
"powerlines",
|
|
55
|
+
"constructor",
|
|
56
|
+
"inlineConfig",
|
|
57
|
+
"clean",
|
|
58
|
+
"prepare",
|
|
59
|
+
"lint",
|
|
60
|
+
"build",
|
|
61
|
+
"docs",
|
|
62
|
+
"finalize",
|
|
63
|
+
"ShellShockAPI",
|
|
64
|
+
"\"w!3\"P\"w#2$>%P7&`0'sP\"w!2(\"0)P!2*$`0+P!2*$`0,P!2*$`0-P!2*$`0.P!2*$`0/P$`005w1"
|
|
65
|
+
];
|
|
41
66
|
};
|
|
42
67
|
/**
|
|
43
68
|
* Creates a new {@link ShellShockAPI} instance.
|
|
@@ -49,6 +74,15 @@ async function createShellShock(options = {}) {
|
|
|
49
74
|
options.root ??= process.cwd();
|
|
50
75
|
return ShellShockAPI.from(options);
|
|
51
76
|
}
|
|
77
|
+
createShellShock.__type = [
|
|
78
|
+
() => __ΩPartial,
|
|
79
|
+
"UserConfig",
|
|
80
|
+
"options",
|
|
81
|
+
() => ({}),
|
|
82
|
+
() => ShellShockAPI,
|
|
83
|
+
"createShellShock",
|
|
84
|
+
"P\"w\"o!\"2#>$P7%`/&"
|
|
85
|
+
];
|
|
52
86
|
|
|
53
87
|
//#endregion
|
|
54
88
|
export { ShellShockAPI, createShellShock };
|
package/dist/api.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.mjs","names":[
|
|
1
|
+
{"version":3,"file":"api.mjs","names":[],"sources":["../src/api.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { createPowerlines } from \"powerlines\";\nimport type { PowerlinesAPI } from \"powerlines/api\";\nimport type {\n BuildInlineConfig,\n CleanInlineConfig,\n DocsInlineConfig,\n LintInlineConfig,\n PluginConfig,\n PrepareInlineConfig\n} from \"powerlines/types/config\";\nimport { plugin } from \"./plugin\";\nimport type { UserConfig } from \"./types/config\";\n\n/**\n * The Shell Shock API class.\n *\n * @remarks\n * This class provides methods to interact with the Shell Shock build system, including cleaning, preparing, linting, building, generating documentation, and finalizing projects.\n */\nexport class ShellShockAPI {\n #powerlines: PowerlinesAPI;\n\n public static async from(config: UserConfig = {}): Promise<ShellShockAPI> {\n const powerlines = await createPowerlines({\n framework: \"shell-shock\",\n ...config,\n plugins: [plugin(), ...(config.plugins ?? [])] as PluginConfig<any>[]\n });\n\n return new ShellShockAPI(powerlines);\n }\n\n private constructor(powerlines: PowerlinesAPI) {\n this.#powerlines = powerlines;\n }\n\n public async clean(inlineConfig: CleanInlineConfig): Promise<void> {\n return this.#powerlines.clean(inlineConfig);\n }\n\n public async prepare(inlineConfig: PrepareInlineConfig): Promise<void> {\n return this.#powerlines.prepare(inlineConfig);\n }\n\n public async lint(inlineConfig: LintInlineConfig): Promise<void> {\n return this.#powerlines.lint(inlineConfig);\n }\n\n public async build(inlineConfig: BuildInlineConfig): Promise<void> {\n return this.#powerlines.build(inlineConfig);\n }\n\n public async docs(inlineConfig: DocsInlineConfig): Promise<void> {\n return this.#powerlines.docs(inlineConfig);\n }\n\n public async finalize(): Promise<void> {\n return this.#powerlines.finalize();\n }\n}\n\n/**\n * Creates a new {@link ShellShockAPI} instance.\n *\n * @param options - The user configuration options.\n * @returns A promise that resolves to a {@link ShellShockAPI} instance.\n */\nexport async function createShellShock(\n options: Partial<UserConfig> = {}\n): Promise<ShellShockAPI> {\n options.root ??= process.cwd();\n\n return ShellShockAPI.from(options);\n}\n"],"mappings":";;;;AAAA,MAAM,aAAa;CAAC;CAAK;CAAW;CAA2B;;;;;;;AA0B/D,IAAa,gBAAb,MAAa,cAAO;CAChB;CACA,aAAa,KAAK,SAAS,EAAE,EAAA;AAMzB,SAAE,IAAA,cALiB,MAAM,iBAAe;;GAE9C,GAAA;GACU,SAAS,CAAC,QAAM,EAAA,GAAA,OAAA,WAAA,EAAA,CAAA;GAC3B,CAAA,CACS;;CAER,YAAA,YAAA;AACM,QAAK,aAAc;;;AAGnB,SAAO,MAAK,WAAY,MAAM,aAAa;;CAE/C,MAAM,QAAQ,cAAY;AACtB,SAAO,MAAA,WAAA,QAAA,aAAA;;CAEX,MAAE,KAAA,cAAA;;;CAGJ,MAAA,MAAA,cAAA;;;CAGE,MAAM,KAAK,cAAc;AAC3B,SAAA,MAAA,WAAA,KAAA,aAAA;;CAEE,MAAM,WAAW;AACb,SAAO,MAAK,WAAY,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWtC,SAAQ,SAAS,QAAQ,KAAK;AAC9B,QAAO,cAAc,KAAK,QAAQ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandTree } from "../types/command.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core15 from "@alloy-js/core";
|
|
3
3
|
import { MarkdownFileProps } from "@powerlines/plugin-alloy/markdown/components/markdown-file";
|
|
4
4
|
|
|
5
5
|
//#region src/components/docs.d.ts
|
|
@@ -12,7 +12,7 @@ interface CommandOptionsDocsProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Generates the options markdown documentation for a command.
|
|
14
14
|
*/
|
|
15
|
-
declare function CommandOptionsDocs(props: CommandOptionsDocsProps):
|
|
15
|
+
declare function CommandOptionsDocs(props: CommandOptionsDocsProps): _alloy_js_core15.Children;
|
|
16
16
|
interface CommandDocsUsageExampleProps {
|
|
17
17
|
/**
|
|
18
18
|
* The package manager to generate the usage example for.
|
|
@@ -31,7 +31,7 @@ interface CommandDocsUsageExampleProps {
|
|
|
31
31
|
/**
|
|
32
32
|
* Generates the markdown documentation for a command.
|
|
33
33
|
*/
|
|
34
|
-
declare function CommandDocsUsageExample(props: CommandDocsUsageExampleProps):
|
|
34
|
+
declare function CommandDocsUsageExample(props: CommandDocsUsageExampleProps): _alloy_js_core15.Children;
|
|
35
35
|
interface CommandDocsProps {
|
|
36
36
|
/**
|
|
37
37
|
* The heading level offset to apply to the generated documentation.
|
|
@@ -56,7 +56,7 @@ interface CommandDocsProps {
|
|
|
56
56
|
/**
|
|
57
57
|
* Generates the markdown documentation for a command.
|
|
58
58
|
*/
|
|
59
|
-
declare function CommandDocs(props: CommandDocsProps):
|
|
59
|
+
declare function CommandDocs(props: CommandDocsProps): _alloy_js_core15.Children;
|
|
60
60
|
interface CommandDocsFileProps extends Partial<MarkdownFileProps> {
|
|
61
61
|
/**
|
|
62
62
|
* The heading level offset to apply to the generated documentation.
|
|
@@ -75,7 +75,7 @@ interface CommandDocsFileProps extends Partial<MarkdownFileProps> {
|
|
|
75
75
|
/**
|
|
76
76
|
* Generates the markdown documentation file for a command.
|
|
77
77
|
*/
|
|
78
|
-
declare function CommandDocsFile(props: CommandDocsFileProps):
|
|
78
|
+
declare function CommandDocsFile(props: CommandDocsFileProps): _alloy_js_core15.Children;
|
|
79
79
|
//#endregion
|
|
80
80
|
export { CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, CommandDocsUsageExample, CommandDocsUsageExampleProps, CommandOptionsDocs, CommandOptionsDocsProps };
|
|
81
81
|
//# sourceMappingURL=docs.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"docs.d.cts","names":[],"sources":["../../src/components/docs.tsx"],"sourcesContent":[],"mappings":";;;;;UAkCiB,uBAAA;;;AAAjB;EAUgB,OAAA,EANL,WAMK;AAwBhB;AAoBA;AAsBA;;AAqB2B,iBAvFX,kBAAA,CAuFW,KAAA,EAvFe,uBAuFf,CAAA,EAvFsC,
|
|
1
|
+
{"version":3,"file":"docs.d.cts","names":[],"sources":["../../src/components/docs.tsx"],"sourcesContent":[],"mappings":";;;;;UAkCiB,uBAAA;;;AAAjB;EAUgB,OAAA,EANL,WAMK;AAwBhB;AAoBA;AAsBA;;AAqB2B,iBAvFX,kBAAA,CAuFW,KAAA,EAvFe,uBAuFf,CAAA,EAvFsC,gBAAA,CAAA,QAuFtC;AAAT,UA/DD,4BAAA,CA+DC;EAAQ;AAM1B;AAwCA;;;;;AAoBA;;;;;WAnHW;;;;;iBAMK,uBAAA,QAA+B,+BAA4B,gBAAA,CAAA;UAsB1D,gBAAA;;;;;;;;;;;;;WAcN;;;;;;kBAOO,SAAS;;;;;iBAMX,WAAA,QAAmB,mBAAgB,gBAAA,CAAA;UAwClC,oBAAA,SAA6B,QAAQ;;;;;;;;;;;;;WAc3C;;;;;iBAMK,eAAA,QAAuB,uBAAoB,gBAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandTree } from "../types/command.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core20 from "@alloy-js/core";
|
|
3
3
|
import { MarkdownFileProps } from "@powerlines/plugin-alloy/markdown/components/markdown-file";
|
|
4
4
|
|
|
5
5
|
//#region src/components/docs.d.ts
|
|
@@ -12,7 +12,7 @@ interface CommandOptionsDocsProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Generates the options markdown documentation for a command.
|
|
14
14
|
*/
|
|
15
|
-
declare function CommandOptionsDocs(props: CommandOptionsDocsProps):
|
|
15
|
+
declare function CommandOptionsDocs(props: CommandOptionsDocsProps): _alloy_js_core20.Children;
|
|
16
16
|
interface CommandDocsUsageExampleProps {
|
|
17
17
|
/**
|
|
18
18
|
* The package manager to generate the usage example for.
|
|
@@ -31,7 +31,7 @@ interface CommandDocsUsageExampleProps {
|
|
|
31
31
|
/**
|
|
32
32
|
* Generates the markdown documentation for a command.
|
|
33
33
|
*/
|
|
34
|
-
declare function CommandDocsUsageExample(props: CommandDocsUsageExampleProps):
|
|
34
|
+
declare function CommandDocsUsageExample(props: CommandDocsUsageExampleProps): _alloy_js_core20.Children;
|
|
35
35
|
interface CommandDocsProps {
|
|
36
36
|
/**
|
|
37
37
|
* The heading level offset to apply to the generated documentation.
|
|
@@ -56,7 +56,7 @@ interface CommandDocsProps {
|
|
|
56
56
|
/**
|
|
57
57
|
* Generates the markdown documentation for a command.
|
|
58
58
|
*/
|
|
59
|
-
declare function CommandDocs(props: CommandDocsProps):
|
|
59
|
+
declare function CommandDocs(props: CommandDocsProps): _alloy_js_core20.Children;
|
|
60
60
|
interface CommandDocsFileProps extends Partial<MarkdownFileProps> {
|
|
61
61
|
/**
|
|
62
62
|
* The heading level offset to apply to the generated documentation.
|
|
@@ -75,7 +75,7 @@ interface CommandDocsFileProps extends Partial<MarkdownFileProps> {
|
|
|
75
75
|
/**
|
|
76
76
|
* Generates the markdown documentation file for a command.
|
|
77
77
|
*/
|
|
78
|
-
declare function CommandDocsFile(props: CommandDocsFileProps):
|
|
78
|
+
declare function CommandDocsFile(props: CommandDocsFileProps): _alloy_js_core20.Children;
|
|
79
79
|
//#endregion
|
|
80
80
|
export { CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, CommandDocsUsageExample, CommandDocsUsageExampleProps, CommandOptionsDocs, CommandOptionsDocsProps };
|
|
81
81
|
//# sourceMappingURL=docs.d.mts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core19 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/components/helpers.d.ts
|
|
4
4
|
interface BooleanInputParserLogicProps {
|
|
@@ -7,29 +7,29 @@ interface BooleanInputParserLogicProps {
|
|
|
7
7
|
/**
|
|
8
8
|
* Parses a string input into a boolean value, interpreting common truthy and falsy string representations.
|
|
9
9
|
*/
|
|
10
|
-
declare function BooleanInputParserLogic(props: BooleanInputParserLogicProps):
|
|
10
|
+
declare function BooleanInputParserLogic(props: BooleanInputParserLogicProps): _alloy_js_core19.Children;
|
|
11
11
|
/**
|
|
12
12
|
* Write the logic to determine if the application is running in debug mode.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* This is used to conditionally include debug-only logic in the generated application, such as additional logging or development tools. The logic should check for common indicators of debug mode, such as environment variables or the presence of a debugger.
|
|
16
16
|
*/
|
|
17
|
-
declare function IsDebug():
|
|
17
|
+
declare function IsDebug(): _alloy_js_core19.Children;
|
|
18
18
|
/**
|
|
19
19
|
* Write the logic to determine if the application is **not** running in debug mode.
|
|
20
20
|
*/
|
|
21
|
-
declare function IsNotDebug():
|
|
21
|
+
declare function IsNotDebug(): _alloy_js_core19.Children;
|
|
22
22
|
/**
|
|
23
23
|
* Write the logic to determine if the application is running in verbose mode.
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
26
|
* This is used to conditionally include verbose-only logic in the generated application, such as additional logging or detailed output. The logic should check for common indicators of verbose mode, such as environment variables or command-line flags.
|
|
27
27
|
*/
|
|
28
|
-
declare function IsVerbose():
|
|
28
|
+
declare function IsVerbose(): _alloy_js_core19.Children;
|
|
29
29
|
/**
|
|
30
30
|
* Write the logic to determine if the application is **not** running in verbose mode.
|
|
31
31
|
*/
|
|
32
|
-
declare function IsNotVerbose():
|
|
32
|
+
declare function IsNotVerbose(): _alloy_js_core19.Children;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BooleanInputParserLogic, BooleanInputParserLogicProps, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose };
|
|
35
35
|
//# sourceMappingURL=helpers.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.cts","names":[],"sources":["../../src/components/helpers.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,4BAAA;;;AAAjB;AAOA;AA0BA;AAOgB,iBAjCA,uBAAA,CAiCU,KAAA,EAjCqB,4BAiCrB,CAAA,EAjCiD,
|
|
1
|
+
{"version":3,"file":"helpers.d.cts","names":[],"sources":["../../src/components/helpers.tsx"],"sourcesContent":[],"mappings":";;;UAoBiB,4BAAA;;;AAAjB;AAOA;AA0BA;AAOgB,iBAjCA,uBAAA,CAiCU,KAAA,EAjCqB,4BAiCrB,CAAA,EAjCiD,gBAAA,CAAA,QAiCjD;AAgB1B;AAaA;;;;;iBApCgB,OAAA,CAAA,GAAO,gBAAA,CAAA;;;;iBAOP,UAAA,CAAA,GAAU,gBAAA,CAAA;;;;;;;iBAgBV,SAAA,CAAA,GAAS,gBAAA,CAAA;;;;iBAaT,YAAA,CAAA,GAAY,gBAAA,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as _alloy_js_core15 from "@alloy-js/core";
|
|
2
2
|
|
|
3
3
|
//#region src/components/helpers.d.ts
|
|
4
4
|
interface BooleanInputParserLogicProps {
|
|
@@ -7,29 +7,29 @@ interface BooleanInputParserLogicProps {
|
|
|
7
7
|
/**
|
|
8
8
|
* Parses a string input into a boolean value, interpreting common truthy and falsy string representations.
|
|
9
9
|
*/
|
|
10
|
-
declare function BooleanInputParserLogic(props: BooleanInputParserLogicProps):
|
|
10
|
+
declare function BooleanInputParserLogic(props: BooleanInputParserLogicProps): _alloy_js_core15.Children;
|
|
11
11
|
/**
|
|
12
12
|
* Write the logic to determine if the application is running in debug mode.
|
|
13
13
|
*
|
|
14
14
|
* @remarks
|
|
15
15
|
* This is used to conditionally include debug-only logic in the generated application, such as additional logging or development tools. The logic should check for common indicators of debug mode, such as environment variables or the presence of a debugger.
|
|
16
16
|
*/
|
|
17
|
-
declare function IsDebug():
|
|
17
|
+
declare function IsDebug(): _alloy_js_core15.Children;
|
|
18
18
|
/**
|
|
19
19
|
* Write the logic to determine if the application is **not** running in debug mode.
|
|
20
20
|
*/
|
|
21
|
-
declare function IsNotDebug():
|
|
21
|
+
declare function IsNotDebug(): _alloy_js_core15.Children;
|
|
22
22
|
/**
|
|
23
23
|
* Write the logic to determine if the application is running in verbose mode.
|
|
24
24
|
*
|
|
25
25
|
* @remarks
|
|
26
26
|
* This is used to conditionally include verbose-only logic in the generated application, such as additional logging or detailed output. The logic should check for common indicators of verbose mode, such as environment variables or command-line flags.
|
|
27
27
|
*/
|
|
28
|
-
declare function IsVerbose():
|
|
28
|
+
declare function IsVerbose(): _alloy_js_core15.Children;
|
|
29
29
|
/**
|
|
30
30
|
* Write the logic to determine if the application is **not** running in verbose mode.
|
|
31
31
|
*/
|
|
32
|
-
declare function IsNotVerbose():
|
|
32
|
+
declare function IsNotVerbose(): _alloy_js_core15.Children;
|
|
33
33
|
//#endregion
|
|
34
34
|
export { BooleanInputParserLogic, BooleanInputParserLogicProps, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose };
|
|
35
35
|
//# sourceMappingURL=helpers.d.mts.map
|
|
@@ -26,5 +26,6 @@ exports.OptionsMember = require_components_options_parser_logic.OptionsMember;
|
|
|
26
26
|
exports.OptionsMemberParserCondition = require_components_options_parser_logic.OptionsMemberParserCondition;
|
|
27
27
|
exports.OptionsMemberParserLogic = require_components_options_parser_logic.OptionsMemberParserLogic;
|
|
28
28
|
exports.OptionsParserLogic = require_components_options_parser_logic.OptionsParserLogic;
|
|
29
|
+
exports.SpawnFunctionDeclaration = require_components_utils_builtin.SpawnFunctionDeclaration;
|
|
29
30
|
exports.Usage = require_components_usage.Usage;
|
|
30
31
|
exports.UtilsBuiltin = require_components_utils_builtin.UtilsBuiltin;
|
|
@@ -2,5 +2,5 @@ import { CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, C
|
|
|
2
2
|
import { BooleanInputParserLogic, BooleanInputParserLogicProps, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose } from "./helpers.cjs";
|
|
3
3
|
import { ArgumentsParserLogic, ArgumentsParserLogicProps, CommandParserLogic, CommandParserLogicProps, DynamicSegmentsParserLogic, DynamicSegmentsParserLogicProps, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserConditionProps, OptionsMemberParserLogic, OptionsMemberParserLogicProps, OptionsParserLogic, OptionsParserLogicProps } from "./options-parser-logic.cjs";
|
|
4
4
|
import { Usage, UsageProps } from "./usage.cjs";
|
|
5
|
-
import { ArgsUtilities, ColorSupportUtilities, ContextUtilities, EnvSupportUtilities, HyperlinkSupportUtilities, UtilsBuiltin, UtilsBuiltinProps } from "./utils-builtin.cjs";
|
|
6
|
-
export { ArgsUtilities, ArgumentsParserLogic, ArgumentsParserLogicProps, BooleanInputParserLogic, BooleanInputParserLogicProps, ColorSupportUtilities, CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, CommandDocsUsageExample, CommandDocsUsageExampleProps, CommandOptionsDocs, CommandOptionsDocsProps, CommandParserLogic, CommandParserLogicProps, ContextUtilities, DynamicSegmentsParserLogic, DynamicSegmentsParserLogicProps, EnvSupportUtilities, HyperlinkSupportUtilities, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserConditionProps, OptionsMemberParserLogic, OptionsMemberParserLogicProps, OptionsParserLogic, OptionsParserLogicProps, Usage, UsageProps, UtilsBuiltin, UtilsBuiltinProps };
|
|
5
|
+
import { ArgsUtilities, ColorSupportUtilities, ContextUtilities, EnvSupportUtilities, HyperlinkSupportUtilities, SpawnFunctionDeclaration, UtilsBuiltin, UtilsBuiltinProps } from "./utils-builtin.cjs";
|
|
6
|
+
export { ArgsUtilities, ArgumentsParserLogic, ArgumentsParserLogicProps, BooleanInputParserLogic, BooleanInputParserLogicProps, ColorSupportUtilities, CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, CommandDocsUsageExample, CommandDocsUsageExampleProps, CommandOptionsDocs, CommandOptionsDocsProps, CommandParserLogic, CommandParserLogicProps, ContextUtilities, DynamicSegmentsParserLogic, DynamicSegmentsParserLogicProps, EnvSupportUtilities, HyperlinkSupportUtilities, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserConditionProps, OptionsMemberParserLogic, OptionsMemberParserLogicProps, OptionsParserLogic, OptionsParserLogicProps, SpawnFunctionDeclaration, Usage, UsageProps, UtilsBuiltin, UtilsBuiltinProps };
|
|
@@ -2,5 +2,5 @@ import { CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, C
|
|
|
2
2
|
import { BooleanInputParserLogic, BooleanInputParserLogicProps, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose } from "./helpers.mjs";
|
|
3
3
|
import { ArgumentsParserLogic, ArgumentsParserLogicProps, CommandParserLogic, CommandParserLogicProps, DynamicSegmentsParserLogic, DynamicSegmentsParserLogicProps, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserConditionProps, OptionsMemberParserLogic, OptionsMemberParserLogicProps, OptionsParserLogic, OptionsParserLogicProps } from "./options-parser-logic.mjs";
|
|
4
4
|
import { Usage, UsageProps } from "./usage.mjs";
|
|
5
|
-
import { ArgsUtilities, ColorSupportUtilities, ContextUtilities, EnvSupportUtilities, HyperlinkSupportUtilities, UtilsBuiltin, UtilsBuiltinProps } from "./utils-builtin.mjs";
|
|
6
|
-
export { ArgsUtilities, ArgumentsParserLogic, ArgumentsParserLogicProps, BooleanInputParserLogic, BooleanInputParserLogicProps, ColorSupportUtilities, CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, CommandDocsUsageExample, CommandDocsUsageExampleProps, CommandOptionsDocs, CommandOptionsDocsProps, CommandParserLogic, CommandParserLogicProps, ContextUtilities, DynamicSegmentsParserLogic, DynamicSegmentsParserLogicProps, EnvSupportUtilities, HyperlinkSupportUtilities, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserConditionProps, OptionsMemberParserLogic, OptionsMemberParserLogicProps, OptionsParserLogic, OptionsParserLogicProps, Usage, UsageProps, UtilsBuiltin, UtilsBuiltinProps };
|
|
5
|
+
import { ArgsUtilities, ColorSupportUtilities, ContextUtilities, EnvSupportUtilities, HyperlinkSupportUtilities, SpawnFunctionDeclaration, UtilsBuiltin, UtilsBuiltinProps } from "./utils-builtin.mjs";
|
|
6
|
+
export { ArgsUtilities, ArgumentsParserLogic, ArgumentsParserLogicProps, BooleanInputParserLogic, BooleanInputParserLogicProps, ColorSupportUtilities, CommandDocs, CommandDocsFile, CommandDocsFileProps, CommandDocsProps, CommandDocsUsageExample, CommandDocsUsageExampleProps, CommandOptionsDocs, CommandOptionsDocsProps, CommandParserLogic, CommandParserLogicProps, ContextUtilities, DynamicSegmentsParserLogic, DynamicSegmentsParserLogicProps, EnvSupportUtilities, HyperlinkSupportUtilities, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserConditionProps, OptionsMemberParserLogic, OptionsMemberParserLogicProps, OptionsParserLogic, OptionsParserLogicProps, SpawnFunctionDeclaration, Usage, UsageProps, UtilsBuiltin, UtilsBuiltinProps };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Usage } from "./usage.mjs";
|
|
2
2
|
import { CommandDocs, CommandDocsFile, CommandDocsUsageExample, CommandOptionsDocs } from "./docs.mjs";
|
|
3
|
-
import { ArgsUtilities, ColorSupportUtilities, ContextUtilities, EnvSupportUtilities, HyperlinkSupportUtilities, UtilsBuiltin } from "./utils-builtin.mjs";
|
|
3
|
+
import { ArgsUtilities, ColorSupportUtilities, ContextUtilities, EnvSupportUtilities, HyperlinkSupportUtilities, SpawnFunctionDeclaration, UtilsBuiltin } from "./utils-builtin.mjs";
|
|
4
4
|
import { BooleanInputParserLogic, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose } from "./helpers.mjs";
|
|
5
5
|
import { ArgumentsParserLogic, CommandParserLogic, DynamicSegmentsParserLogic, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserLogic, OptionsParserLogic } from "./options-parser-logic.mjs";
|
|
6
6
|
|
|
7
|
-
export { ArgsUtilities, ArgumentsParserLogic, BooleanInputParserLogic, ColorSupportUtilities, CommandDocs, CommandDocsFile, CommandDocsUsageExample, CommandOptionsDocs, CommandParserLogic, ContextUtilities, DynamicSegmentsParserLogic, EnvSupportUtilities, HyperlinkSupportUtilities, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserLogic, OptionsParserLogic, Usage, UtilsBuiltin };
|
|
7
|
+
export { ArgsUtilities, ArgumentsParserLogic, BooleanInputParserLogic, ColorSupportUtilities, CommandDocs, CommandDocsFile, CommandDocsUsageExample, CommandOptionsDocs, CommandParserLogic, ContextUtilities, DynamicSegmentsParserLogic, EnvSupportUtilities, HyperlinkSupportUtilities, IsDebug, IsNotDebug, IsNotVerbose, IsVerbose, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserLogic, OptionsParserLogic, SpawnFunctionDeclaration, Usage, UtilsBuiltin };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandOption, CommandTree } from "../types/command.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/components/options-parser-logic.d.ts
|
|
5
5
|
interface DynamicSegmentsParserLogicProps {
|
|
@@ -12,7 +12,7 @@ interface DynamicSegmentsParserLogicProps {
|
|
|
12
12
|
*/
|
|
13
13
|
isCaseSensitive: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare function DynamicSegmentsParserLogic(props: DynamicSegmentsParserLogicProps):
|
|
15
|
+
declare function DynamicSegmentsParserLogic(props: DynamicSegmentsParserLogicProps): _alloy_js_core0.Children;
|
|
16
16
|
interface ArgumentsParserLogicProps {
|
|
17
17
|
/**
|
|
18
18
|
* The command to generate the positional parameters parser logic for.
|
|
@@ -27,7 +27,7 @@ interface ArgumentsParserLogicProps {
|
|
|
27
27
|
*/
|
|
28
28
|
isCaseSensitive: boolean;
|
|
29
29
|
}
|
|
30
|
-
declare function ArgumentsParserLogic(props: ArgumentsParserLogicProps):
|
|
30
|
+
declare function ArgumentsParserLogic(props: ArgumentsParserLogicProps): _alloy_js_core0.Children;
|
|
31
31
|
/**
|
|
32
32
|
* The command option interface property.
|
|
33
33
|
*/
|
|
@@ -35,7 +35,7 @@ declare function OptionsMember({
|
|
|
35
35
|
option
|
|
36
36
|
}: {
|
|
37
37
|
option: CommandOption;
|
|
38
|
-
}):
|
|
38
|
+
}): _alloy_js_core0.Children;
|
|
39
39
|
interface OptionsMemberParserLogicProps {
|
|
40
40
|
/**
|
|
41
41
|
* The option name to generate the parser logic for.
|
|
@@ -55,7 +55,7 @@ interface OptionsMemberParserLogicProps {
|
|
|
55
55
|
/**
|
|
56
56
|
* The command option property parser logic.
|
|
57
57
|
*/
|
|
58
|
-
declare function OptionsMemberParserLogic(props: OptionsMemberParserLogicProps):
|
|
58
|
+
declare function OptionsMemberParserLogic(props: OptionsMemberParserLogicProps): _alloy_js_core0.Children;
|
|
59
59
|
interface OptionsMemberParserConditionProps {
|
|
60
60
|
/**
|
|
61
61
|
* The option name to generate the parser logic for.
|
|
@@ -72,10 +72,10 @@ interface OptionsMemberParserConditionProps {
|
|
|
72
72
|
*/
|
|
73
73
|
isCaseSensitive: boolean;
|
|
74
74
|
}
|
|
75
|
-
declare function OptionsMemberParserCondition(props: OptionsMemberParserConditionProps):
|
|
75
|
+
declare function OptionsMemberParserCondition(props: OptionsMemberParserConditionProps): _alloy_js_core0.Children;
|
|
76
76
|
declare function OptionsInterfaceDeclaration(props: {
|
|
77
77
|
command: CommandTree;
|
|
78
|
-
}):
|
|
78
|
+
}): _alloy_js_core0.Children;
|
|
79
79
|
interface OptionsParserLogicProps {
|
|
80
80
|
/**
|
|
81
81
|
* The command to generate the options parser logic for.
|
|
@@ -95,7 +95,7 @@ interface OptionsParserLogicProps {
|
|
|
95
95
|
/**
|
|
96
96
|
* The command options parser logic.
|
|
97
97
|
*/
|
|
98
|
-
declare function OptionsParserLogic(props: OptionsParserLogicProps):
|
|
98
|
+
declare function OptionsParserLogic(props: OptionsParserLogicProps): _alloy_js_core0.Children;
|
|
99
99
|
interface CommandParserLogicProps {
|
|
100
100
|
/**
|
|
101
101
|
* The command to generate the parser logic for.
|
|
@@ -115,7 +115,7 @@ interface CommandParserLogicProps {
|
|
|
115
115
|
/**
|
|
116
116
|
* The command parser logic, which includes parsing dynamic path segments, positional parameters, and options.
|
|
117
117
|
*/
|
|
118
|
-
declare function CommandParserLogic(props: CommandParserLogicProps):
|
|
118
|
+
declare function CommandParserLogic(props: CommandParserLogicProps): _alloy_js_core0.Children;
|
|
119
119
|
//#endregion
|
|
120
120
|
export { ArgumentsParserLogic, ArgumentsParserLogicProps, CommandParserLogic, CommandParserLogicProps, DynamicSegmentsParserLogic, DynamicSegmentsParserLogicProps, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserConditionProps, OptionsMemberParserLogic, OptionsMemberParserLogicProps, OptionsParserLogic, OptionsParserLogicProps };
|
|
121
121
|
//# sourceMappingURL=options-parser-logic.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"options-parser-logic.d.cts","names":[],"sources":["../../src/components/options-parser-logic.tsx"],"sourcesContent":[],"mappings":";;;;UA+CiB,+BAAA;;;AAAjB;EAYgB,OAAA,EARL,WAQK;EA6BC;AAiBjB;AAyKA;EAAgC,eAAA,EAAA,OAAA;;AAAiC,iBAvNjD,0BAAA,CAuNmD,KAAA,EAtN1D,+BAsN0D,CAAA,EAtN3B,
|
|
1
|
+
{"version":3,"file":"options-parser-logic.d.cts","names":[],"sources":["../../src/components/options-parser-logic.tsx"],"sourcesContent":[],"mappings":";;;;UA+CiB,+BAAA;;;AAAjB;EAYgB,OAAA,EARL,WAQK;EA6BC;AAiBjB;AAyKA;EAAgC,eAAA,EAAA,OAAA;;AAAiC,iBAvNjD,0BAAA,CAuNmD,KAAA,EAtN1D,+BAsN0D,CAAA,EAtN3B,eAAA,CAAA,QAsN2B;AAAA,UA1LlD,yBAAA,CA0LkD;EAuClD;AAsBjB;AAuKA;EAmBgB,OAAA,EA7aL,WA6aK;EAmEA;AAchB;AAsBA;EA4HiB,SAAA,EAAA,MAAA;EAsBD;;;;;iBAzpBA,oBAAA,QAA4B,4BAAyB,eAAA,CAAA;;;;iBAyKrD,aAAA;;;UAAoC;IAAa,eAAA,CAAE;UAuClD,6BAAA;;;;;;;;UASP;;;;;;;;;;;iBAaM,wBAAA,QAAgC,gCAA6B,eAAA,CAAA;UAuK5D,iCAAA;;;;;;;;;;;;;;;;iBAmBD,4BAAA,QACP,oCAAiC,eAAA,CAAA;iBAkE1B,2BAAA;WAA8C;IAAW,eAAA,CAAE;UAc1D,uBAAA;;;;WAIN;;;;;;;;;;;;;;;iBAkBK,kBAAA,QAA0B,0BAAuB,eAAA,CAAA;UA4HhD,uBAAA;;;;WAIN;;;;;;;;;;;;;;;iBAkBK,kBAAA,QAA0B,0BAAuB,eAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandOption, CommandTree } from "../types/command.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/components/options-parser-logic.d.ts
|
|
5
5
|
interface DynamicSegmentsParserLogicProps {
|
|
@@ -12,7 +12,7 @@ interface DynamicSegmentsParserLogicProps {
|
|
|
12
12
|
*/
|
|
13
13
|
isCaseSensitive: boolean;
|
|
14
14
|
}
|
|
15
|
-
declare function DynamicSegmentsParserLogic(props: DynamicSegmentsParserLogicProps):
|
|
15
|
+
declare function DynamicSegmentsParserLogic(props: DynamicSegmentsParserLogicProps): _alloy_js_core0.Children;
|
|
16
16
|
interface ArgumentsParserLogicProps {
|
|
17
17
|
/**
|
|
18
18
|
* The command to generate the positional parameters parser logic for.
|
|
@@ -27,7 +27,7 @@ interface ArgumentsParserLogicProps {
|
|
|
27
27
|
*/
|
|
28
28
|
isCaseSensitive: boolean;
|
|
29
29
|
}
|
|
30
|
-
declare function ArgumentsParserLogic(props: ArgumentsParserLogicProps):
|
|
30
|
+
declare function ArgumentsParserLogic(props: ArgumentsParserLogicProps): _alloy_js_core0.Children;
|
|
31
31
|
/**
|
|
32
32
|
* The command option interface property.
|
|
33
33
|
*/
|
|
@@ -35,7 +35,7 @@ declare function OptionsMember({
|
|
|
35
35
|
option
|
|
36
36
|
}: {
|
|
37
37
|
option: CommandOption;
|
|
38
|
-
}):
|
|
38
|
+
}): _alloy_js_core0.Children;
|
|
39
39
|
interface OptionsMemberParserLogicProps {
|
|
40
40
|
/**
|
|
41
41
|
* The option name to generate the parser logic for.
|
|
@@ -55,7 +55,7 @@ interface OptionsMemberParserLogicProps {
|
|
|
55
55
|
/**
|
|
56
56
|
* The command option property parser logic.
|
|
57
57
|
*/
|
|
58
|
-
declare function OptionsMemberParserLogic(props: OptionsMemberParserLogicProps):
|
|
58
|
+
declare function OptionsMemberParserLogic(props: OptionsMemberParserLogicProps): _alloy_js_core0.Children;
|
|
59
59
|
interface OptionsMemberParserConditionProps {
|
|
60
60
|
/**
|
|
61
61
|
* The option name to generate the parser logic for.
|
|
@@ -72,10 +72,10 @@ interface OptionsMemberParserConditionProps {
|
|
|
72
72
|
*/
|
|
73
73
|
isCaseSensitive: boolean;
|
|
74
74
|
}
|
|
75
|
-
declare function OptionsMemberParserCondition(props: OptionsMemberParserConditionProps):
|
|
75
|
+
declare function OptionsMemberParserCondition(props: OptionsMemberParserConditionProps): _alloy_js_core0.Children;
|
|
76
76
|
declare function OptionsInterfaceDeclaration(props: {
|
|
77
77
|
command: CommandTree;
|
|
78
|
-
}):
|
|
78
|
+
}): _alloy_js_core0.Children;
|
|
79
79
|
interface OptionsParserLogicProps {
|
|
80
80
|
/**
|
|
81
81
|
* The command to generate the options parser logic for.
|
|
@@ -95,7 +95,7 @@ interface OptionsParserLogicProps {
|
|
|
95
95
|
/**
|
|
96
96
|
* The command options parser logic.
|
|
97
97
|
*/
|
|
98
|
-
declare function OptionsParserLogic(props: OptionsParserLogicProps):
|
|
98
|
+
declare function OptionsParserLogic(props: OptionsParserLogicProps): _alloy_js_core0.Children;
|
|
99
99
|
interface CommandParserLogicProps {
|
|
100
100
|
/**
|
|
101
101
|
* The command to generate the parser logic for.
|
|
@@ -115,7 +115,7 @@ interface CommandParserLogicProps {
|
|
|
115
115
|
/**
|
|
116
116
|
* The command parser logic, which includes parsing dynamic path segments, positional parameters, and options.
|
|
117
117
|
*/
|
|
118
|
-
declare function CommandParserLogic(props: CommandParserLogicProps):
|
|
118
|
+
declare function CommandParserLogic(props: CommandParserLogicProps): _alloy_js_core0.Children;
|
|
119
119
|
//#endregion
|
|
120
120
|
export { ArgumentsParserLogic, ArgumentsParserLogicProps, CommandParserLogic, CommandParserLogicProps, DynamicSegmentsParserLogic, DynamicSegmentsParserLogicProps, OptionsInterfaceDeclaration, OptionsMember, OptionsMemberParserCondition, OptionsMemberParserConditionProps, OptionsMemberParserLogic, OptionsMemberParserLogicProps, OptionsParserLogic, OptionsParserLogicProps };
|
|
121
121
|
//# sourceMappingURL=options-parser-logic.d.mts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandTree } from "../types/command.cjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core0 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/components/usage.d.ts
|
|
5
5
|
interface UsageProps {
|
|
@@ -22,7 +22,7 @@ interface UsageProps {
|
|
|
22
22
|
/**
|
|
23
23
|
* A component that generates the usage display for a command.
|
|
24
24
|
*/
|
|
25
|
-
declare function Usage(props: UsageProps):
|
|
25
|
+
declare function Usage(props: UsageProps): _alloy_js_core0.Children;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Usage, UsageProps };
|
|
28
28
|
//# sourceMappingURL=usage.d.cts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.d.cts","names":[],"sources":["../../src/components/usage.tsx"],"sourcesContent":[],"mappings":";;;;UA2BiB,UAAA;;;AAAjB;EAuBgB,OAAA,EAnBL,WAmBkB;;;;;;;;;;;;;;;;iBAAb,KAAA,QAAa,aAAU,
|
|
1
|
+
{"version":3,"file":"usage.d.cts","names":[],"sources":["../../src/components/usage.tsx"],"sourcesContent":[],"mappings":";;;;UA2BiB,UAAA;;;AAAjB;EAuBgB,OAAA,EAnBL,WAmBkB;;;;;;;;;;;;;;;;iBAAb,KAAA,QAAa,aAAU,eAAA,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CommandTree } from "../types/command.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _alloy_js_core7 from "@alloy-js/core";
|
|
3
3
|
|
|
4
4
|
//#region src/components/usage.d.ts
|
|
5
5
|
interface UsageProps {
|
|
@@ -22,7 +22,7 @@ interface UsageProps {
|
|
|
22
22
|
/**
|
|
23
23
|
* A component that generates the usage display for a command.
|
|
24
24
|
*/
|
|
25
|
-
declare function Usage(props: UsageProps):
|
|
25
|
+
declare function Usage(props: UsageProps): _alloy_js_core7.Children;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { Usage, UsageProps };
|
|
28
28
|
//# sourceMappingURL=usage.d.mts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.d.mts","names":[],"sources":["../../src/components/usage.tsx"],"sourcesContent":[],"mappings":";;;;UA2BiB,UAAA;;;AAAjB;EAuBgB,OAAA,EAnBL,WAmBkB;;;;;;;;;;;;;;;;iBAAb,KAAA,QAAa,aAAU,
|
|
1
|
+
{"version":3,"file":"usage.d.mts","names":[],"sources":["../../src/components/usage.tsx"],"sourcesContent":[],"mappings":";;;;UA2BiB,UAAA;;;AAAjB;EAuBgB,OAAA,EAnBL,WAmBkB;;;;;;;;;;;;;;;;iBAAb,KAAA,QAAa,aAAU,eAAA,CAAA"}
|