@gunshi/plugin 0.27.3 → 0.27.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 +33 -11
- package/package.json +2 -2
package/lib/index.d.ts
CHANGED
|
@@ -1444,27 +1444,49 @@ type LazyCommand<G extends GunshiParamsConstraint = DefaultGunshiParams, D exten
|
|
|
1444
1444
|
* @since v0.27.1
|
|
1445
1445
|
*/
|
|
1446
1446
|
interface SubCommandable {
|
|
1447
|
-
/**
|
|
1447
|
+
/**
|
|
1448
|
+
* see {@link Command.name}
|
|
1449
|
+
*/
|
|
1448
1450
|
name?: string;
|
|
1449
|
-
/**
|
|
1451
|
+
/**
|
|
1452
|
+
* see {@link Command.description}
|
|
1453
|
+
*/
|
|
1450
1454
|
description?: string;
|
|
1451
|
-
/**
|
|
1455
|
+
/**
|
|
1456
|
+
* see {@link Command.args}
|
|
1457
|
+
*/
|
|
1452
1458
|
args?: Args | Record<string, any>;
|
|
1453
|
-
/**
|
|
1459
|
+
/**
|
|
1460
|
+
* see {@link Command.examples}
|
|
1461
|
+
*/
|
|
1454
1462
|
examples?: string | ((...args: any[]) => any);
|
|
1455
|
-
/**
|
|
1463
|
+
/**
|
|
1464
|
+
* see {@link Command.run}
|
|
1465
|
+
*/
|
|
1456
1466
|
run?: (...args: any[]) => any;
|
|
1457
|
-
/**
|
|
1467
|
+
/**
|
|
1468
|
+
* see {@link Command.toKebab}
|
|
1469
|
+
*/
|
|
1458
1470
|
toKebab?: boolean;
|
|
1459
|
-
/**
|
|
1471
|
+
/**
|
|
1472
|
+
* see {@link Command.internal}
|
|
1473
|
+
*/
|
|
1460
1474
|
internal?: boolean;
|
|
1461
|
-
/**
|
|
1475
|
+
/**
|
|
1476
|
+
* see {@link Command.entry}
|
|
1477
|
+
*/
|
|
1462
1478
|
entry?: boolean;
|
|
1463
|
-
/**
|
|
1479
|
+
/**
|
|
1480
|
+
* see {@link Command.rendering}
|
|
1481
|
+
*/
|
|
1464
1482
|
rendering?: any;
|
|
1465
|
-
/**
|
|
1483
|
+
/**
|
|
1484
|
+
* see {@link LazyCommand.commandName}
|
|
1485
|
+
*/
|
|
1466
1486
|
commandName?: string;
|
|
1467
|
-
/**
|
|
1487
|
+
/**
|
|
1488
|
+
* Index signature to allow additional properties
|
|
1489
|
+
*/
|
|
1468
1490
|
[key: string]: any;
|
|
1469
1491
|
}
|
|
1470
1492
|
/**
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gunshi/plugin",
|
|
3
3
|
"description": "plugin development kit for gunshi",
|
|
4
|
-
"version": "0.27.
|
|
4
|
+
"version": "0.27.4",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kazuya kawaguchi",
|
|
7
7
|
"email": "kawakazu80@gmail.com"
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"jsr-exports-lint": "^0.4.1",
|
|
57
57
|
"publint": "^0.3.16",
|
|
58
58
|
"tsdown": "0.15.12",
|
|
59
|
-
"gunshi": "0.27.
|
|
59
|
+
"gunshi": "0.27.4"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "tsdown",
|