@sorrell/cli-utilities 1.0.52 → 1.0.54

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.
@@ -13,7 +13,7 @@ export type Any = Command.Command<any, any, any, any>;
13
13
  *
14
14
  * @template NameType - The type of the name of the command having this type.
15
15
  */
16
- export type MainCommand<NameType extends string = string> = Command.Command<NameType, any, any, Readonly<{
16
+ export type Main<NameType extends string = string> = Command.Command<NameType, any, any, Readonly<{
17
17
  subcommand: Option<any>;
18
18
  }>>;
19
19
  //# sourceMappingURL=Command.Types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Command.Types.d.ts","sourceRoot":"","sources":["../../Source/Command/Command.Types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAI5C,mEAAmE;AACnE,MAAM,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAEtD;;;;GAIG;AACH,MAAM,MAAM,WAAW,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,IACpD,OAAO,CAAC,OAAO,CACX,QAAQ,EACR,GAAG,EACH,GAAG,EACH,QAAQ,CAAC;IAAE,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,CAAA;CAAE,CAAC,CACxC,CAAC"}
1
+ {"version":3,"file":"Command.Types.d.ts","sourceRoot":"","sources":["../../Source/Command/Command.Types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAC;AAG3C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAI5C,mEAAmE;AACnE,MAAM,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC;AAEtD;;;;GAIG;AACH,MAAM,MAAM,IAAI,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,IAC7C,OAAO,CAAC,OAAO,CACX,QAAQ,EACR,GAAG,EACH,GAAG,EACH,QAAQ,CAAC;IAAE,UAAU,EAAE,MAAM,CAAC,GAAG,CAAC,CAAA;CAAE,CAAC,CACxC,CAAC"}
@@ -4,7 +4,7 @@
4
4
  * @copyright (c) 2026 Gage Sorrell
5
5
  * @license MIT
6
6
  */
7
- import type { Any, MainCommand } from "./Command.Types.js";
7
+ import type { Any, Main } from "./Command.Types.js";
8
8
  import type { NonEmptyArray } from "effect/Array";
9
9
  /**
10
10
  * For a given command, get the name of that command, such that it will
@@ -40,10 +40,10 @@ export declare function GetCommandName(PlainName: string): string;
40
40
  *
41
41
  * @param SubCommands - The subcommands of the {@link Command.Command | command} that this returns.
42
42
  *
43
- * @returns {MainCommand<typeof Name>} The "empty" command of the given {@link Name}, and
43
+ * @returns {Main<typeof Name>} The "empty" command of the given {@link Name}, and
44
44
  * given {@link SubCommands}.
45
45
  */
46
- export declare function GetMain(Name: string, SubCommands: NonEmptyArray<Any>): MainCommand<typeof Name>;
46
+ export declare function GetMain(Name: string, SubCommands: NonEmptyArray<Any>): Main<typeof Name>;
47
47
  /**
48
48
  * Run your CLI tool, given its name, version, and its commands.
49
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;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
+ {"version":3,"file":"Command.d.ts","sourceRoot":"","sources":["../../Source/Command/Command.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,KAAK,EAAE,GAAG,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAC;AAIpD,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,IAAI,CAAC,OAAO,IAAI,CAAC,CAOnB;AAED;;;;;;;;;GASG;AACH,wBAAgB,MAAM,CAClB,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,MAAM,EACf,WAAW,EAAE,aAAa,CAAC,GAAG,CAAC,GAChC,IAAI,CAmBN"}
@@ -46,7 +46,7 @@ export function GetCommandName(PlainName) {
46
46
  *
47
47
  * @param SubCommands - The subcommands of the {@link Command.Command | command} that this returns.
48
48
  *
49
- * @returns {MainCommand<typeof Name>} The "empty" command of the given {@link Name}, and
49
+ * @returns {Main<typeof Name>} The "empty" command of the given {@link Name}, and
50
50
  * given {@link SubCommands}.
51
51
  */
52
52
  export function GetMain(Name, SubCommands) {
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@sorrell/cli-utilities",
3
- "version": "1.0.52",
3
+ "version": "1.0.54",
4
4
  "bin": {
5
- "@sorrell/cli-utilities": "./Distribution/Bin/Bin.js"
5
+ "sorrell-utilities": "./Distribution/Bin/Bin.js"
6
6
  },
7
7
  "description": "Utilities developing CLI tools with TypeScript.",
8
8
  "keywords": [