@gunshi/bone 1.0.0-rc.3 → 1.0.0-rc.4
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/lib/index.d.ts +6 -3
- package/lib/index.js +2 -1
- package/package.json +5 -5
package/lib/index.d.ts
CHANGED
|
@@ -1615,7 +1615,8 @@ type ValidationErrorsDecorator<G extends GunshiParamsConstraint = DefaultGunshiP
|
|
|
1615
1615
|
//#endregion
|
|
1616
1616
|
//#region ../gunshi/src/cli/bone.d.ts
|
|
1617
1617
|
/**
|
|
1618
|
-
* Run the command.
|
|
1618
|
+
* Run the command, without the built-in plugins: `--help` and `--version` print nothing, unless you add the plugins.
|
|
1619
|
+
* To have them, use `cli` from `gunshi`.
|
|
1619
1620
|
*
|
|
1620
1621
|
* @typeParam A - The type of {@linkcode Args | arguments} defined in the command and cli options.
|
|
1621
1622
|
*
|
|
@@ -1629,7 +1630,8 @@ declare function cli<A extends Args = Args, G extends GunshiParams = {
|
|
|
1629
1630
|
extensions: {};
|
|
1630
1631
|
}>(args: string[], entry: Command<G> | CommandRunner<G> | LazyCommand<G>, options?: CliOptions<G>): Promise<string | undefined>;
|
|
1631
1632
|
/**
|
|
1632
|
-
* Run the command.
|
|
1633
|
+
* Run the command, without the built-in plugins: `--help` and `--version` print nothing, unless you add the plugins.
|
|
1634
|
+
* To have them, use `cli` from `gunshi`.
|
|
1633
1635
|
*
|
|
1634
1636
|
* @typeParam E - An {@linkcode ExtendContext} type to specify the shape of command and cli options.
|
|
1635
1637
|
*
|
|
@@ -1643,7 +1645,8 @@ declare function cli<E extends ExtendContext = ExtendContext, G extends GunshiPa
|
|
|
1643
1645
|
extensions: E;
|
|
1644
1646
|
}>(args: string[], entry: Command<G> | CommandRunner<G> | LazyCommand<G>, options?: CliOptions<G>): Promise<string | undefined>;
|
|
1645
1647
|
/**
|
|
1646
|
-
* Run the command.
|
|
1648
|
+
* Run the command, without the built-in plugins: `--help` and `--version` print nothing, unless you add the plugins.
|
|
1649
|
+
* To have them, use `cli` from `gunshi`.
|
|
1647
1650
|
*
|
|
1648
1651
|
* @typeParam G - A type extending {@linkcode GunshiParams} to specify the shape of command and cli options.
|
|
1649
1652
|
*
|
package/lib/index.js
CHANGED
|
@@ -2548,7 +2548,8 @@ async function executeCommand(cmd, ctx, decorators) {
|
|
|
2548
2548
|
* @license MIT
|
|
2549
2549
|
*/
|
|
2550
2550
|
/**
|
|
2551
|
-
* Run the command.
|
|
2551
|
+
* Run the command, without the built-in plugins: `--help` and `--version` print nothing, unless you add the plugins.
|
|
2552
|
+
* To have them, use `cli` from `gunshi`.
|
|
2552
2553
|
*
|
|
2553
2554
|
* @typeParam G - A type extending {@linkcode GunshiParams} to specify the shape of command and cli options.
|
|
2554
2555
|
*
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gunshi/bone",
|
|
3
3
|
"description": "gunshi minimum",
|
|
4
|
-
"version": "1.0.0-rc.
|
|
4
|
+
"version": "1.0.0-rc.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kazuya kawaguchi",
|
|
7
7
|
"email": "kawakazu80@gmail.com"
|
|
@@ -51,11 +51,11 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@gunshi/definition": "1.0.0-rc.
|
|
55
|
-
"@gunshi/plugin-global": "1.0.0-rc.
|
|
56
|
-
"@gunshi/plugin-renderer": "1.0.0-rc.
|
|
54
|
+
"@gunshi/definition": "1.0.0-rc.4",
|
|
55
|
+
"@gunshi/plugin-global": "1.0.0-rc.4",
|
|
56
|
+
"@gunshi/plugin-renderer": "1.0.0-rc.4",
|
|
57
57
|
"deno": "^2.7.14",
|
|
58
|
-
"gunshi": "1.0.0-rc.
|
|
58
|
+
"gunshi": "1.0.0-rc.4",
|
|
59
59
|
"jsr": "^0.14.3",
|
|
60
60
|
"jsr-exports-lint": "^0.4.2",
|
|
61
61
|
"publint": "^0.3.20",
|