@sorrell/cli-utilities 1.0.51 → 1.0.53
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/Distribution/Command/Command.d.ts +1 -2
- package/Distribution/Command/Command.d.ts.map +1 -1
- package/Distribution/Command/Command.js.map +1 -1
- package/Distribution/PackageConfig/index.d.ts +1 -1
- package/Distribution/PackageConfig/index.d.ts.map +1 -1
- package/Distribution/PackageConfig/index.js +1 -1
- package/Distribution/PackageConfig/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* @license MIT
|
|
6
6
|
*/
|
|
7
7
|
import type { Any, MainCommand } from "./Command.Types.js";
|
|
8
|
-
import { Command } from "@effect/cli";
|
|
9
8
|
import type { NonEmptyArray } from "effect/Array";
|
|
10
9
|
/**
|
|
11
10
|
* For a given command, get the name of that command, such that it will
|
|
@@ -44,7 +43,7 @@ export declare function GetCommandName(PlainName: string): string;
|
|
|
44
43
|
* @returns {MainCommand<typeof Name>} The "empty" command of the given {@link Name}, and
|
|
45
44
|
* given {@link SubCommands}.
|
|
46
45
|
*/
|
|
47
|
-
export declare function GetMain(Name: string, SubCommands: NonEmptyArray<
|
|
46
|
+
export declare function GetMain(Name: string, SubCommands: NonEmptyArray<Any>): MainCommand<typeof Name>;
|
|
48
47
|
/**
|
|
49
48
|
* Run your CLI tool, given its name, version, and its commands.
|
|
50
49
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../Source/Command/Command.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;
|
|
1
|
+
{"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../Source/Command/Command.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAC;AAI3D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAElD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,GAAG,MAAM,CAKxD;AAID;;;;;;;;;;GAUG;AACH,wBAAgB,OAAO,CACnB,IAAI,EAAE,MAAM,EACZ,WAAW,EAAE,aAAa,CAAC,GAAG,CAAC,GAChC,WAAW,CAAC,OAAO,IAAI,CAAC,CAO1B;AAED;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAClB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,aAAa,CAAC,GAAG,CAAC,GAChC,IAAI,CAmBN"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Command.js","sourceRoot":"","sources":["../../Source/Command/Command.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AACtC,OAAO,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAGhC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,MAAM,UAAU,cAAc,CAAC,SAAiB;IAE5C,OAAO,OAAO,CAAC,QAAQ,KAAK,OAAO;QAC/B,CAAC,CAAC,GAAI,SAAU,MAAM;QACtB,CAAC,CAAC,SAAS,CAAC;AACpB,CAAC;AAED,8EAA8E;AAE9E;;;;;;;;;;GAUG;AACH,MAAM,UAAU,OAAO,CACnB,IAAY,EACZ,WAA+
|
|
1
|
+
{"version":3,"file":"Command.js","sourceRoot":"","sources":["../../Source/Command/Command.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,uBAAuB,CAAC;AACjE,OAAO,EAAE,OAAO,EAAE,MAA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
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../Source/PackageConfig/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../Source/PackageConfig/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Source/PackageConfig/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../Source/PackageConfig/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,oBAAoB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sorrell/cli-utilities",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.53",
|
|
4
4
|
"bin": {
|
|
5
|
-
"
|
|
5
|
+
"sorrell-utilities": "./Distribution/Bin/Bin.js"
|
|
6
6
|
},
|
|
7
7
|
"description": "Utilities developing CLI tools with TypeScript.",
|
|
8
8
|
"keywords": [
|