@gunshi/plugin 0.27.3 → 0.27.5

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +33 -11
  2. package/package.json +3 -3
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
- /** Command name */
1447
+ /**
1448
+ * see {@link Command.name}
1449
+ */
1448
1450
  name?: string;
1449
- /** Command description */
1451
+ /**
1452
+ * see {@link Command.description}
1453
+ */
1450
1454
  description?: string;
1451
- /** Command arguments - accepts any args structure */
1455
+ /**
1456
+ * see {@link Command.args}
1457
+ */
1452
1458
  args?: Args | Record<string, any>;
1453
- /** Command examples */
1459
+ /**
1460
+ * see {@link Command.examples}
1461
+ */
1454
1462
  examples?: string | ((...args: any[]) => any);
1455
- /** Command runner */
1463
+ /**
1464
+ * see {@link Command.run}
1465
+ */
1456
1466
  run?: (...args: any[]) => any;
1457
- /** Whether to convert camelCase to kebab-case */
1467
+ /**
1468
+ * see {@link Command.toKebab}
1469
+ */
1458
1470
  toKebab?: boolean;
1459
- /** Whether this is an internal command */
1471
+ /**
1472
+ * see {@link Command.internal}
1473
+ */
1460
1474
  internal?: boolean;
1461
- /** Whether this is an entry command */
1475
+ /**
1476
+ * see {@link Command.entry}
1477
+ */
1462
1478
  entry?: boolean;
1463
- /** Rendering options */
1479
+ /**
1480
+ * see {@link Command.rendering}
1481
+ */
1464
1482
  rendering?: any;
1465
- /** Command name for lazy commands */
1483
+ /**
1484
+ * see {@link LazyCommand.commandName}
1485
+ */
1466
1486
  commandName?: string;
1467
- /** Index signature to allow additional properties */
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.3",
4
+ "version": "0.27.5",
5
5
  "author": {
6
6
  "name": "kazuya kawaguchi",
7
7
  "email": "kawakazu80@gmail.com"
@@ -51,12 +51,12 @@
51
51
  }
52
52
  },
53
53
  "devDependencies": {
54
- "deno": "^2.5.6",
54
+ "deno": "^2.6.3",
55
55
  "jsr": "^0.13.5",
56
56
  "jsr-exports-lint": "^0.4.1",
57
57
  "publint": "^0.3.16",
58
58
  "tsdown": "0.15.12",
59
- "gunshi": "0.27.3"
59
+ "gunshi": "0.27.5"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "tsdown",