@gunshi/bone 0.27.2 → 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.
Files changed (2) hide show
  1. package/lib/index.d.ts +33 -11
  2. package/package.json +5 -5
package/lib/index.d.ts CHANGED
@@ -1246,27 +1246,49 @@ type Commandable<G extends GunshiParamsConstraint = DefaultGunshiParams> = Comma
1246
1246
  * @since v0.27.1
1247
1247
  */
1248
1248
  interface SubCommandable {
1249
- /** Command name */
1249
+ /**
1250
+ * see {@link Command.name}
1251
+ */
1250
1252
  name?: string;
1251
- /** Command description */
1253
+ /**
1254
+ * see {@link Command.description}
1255
+ */
1252
1256
  description?: string;
1253
- /** Command arguments - accepts any args structure */
1257
+ /**
1258
+ * see {@link Command.args}
1259
+ */
1254
1260
  args?: Args | Record<string, any>;
1255
- /** Command examples */
1261
+ /**
1262
+ * see {@link Command.examples}
1263
+ */
1256
1264
  examples?: string | ((...args: any[]) => any);
1257
- /** Command runner */
1265
+ /**
1266
+ * see {@link Command.run}
1267
+ */
1258
1268
  run?: (...args: any[]) => any;
1259
- /** Whether to convert camelCase to kebab-case */
1269
+ /**
1270
+ * see {@link Command.toKebab}
1271
+ */
1260
1272
  toKebab?: boolean;
1261
- /** Whether this is an internal command */
1273
+ /**
1274
+ * see {@link Command.internal}
1275
+ */
1262
1276
  internal?: boolean;
1263
- /** Whether this is an entry command */
1277
+ /**
1278
+ * see {@link Command.entry}
1279
+ */
1264
1280
  entry?: boolean;
1265
- /** Rendering options */
1281
+ /**
1282
+ * see {@link Command.rendering}
1283
+ */
1266
1284
  rendering?: any;
1267
- /** Command name for lazy commands */
1285
+ /**
1286
+ * see {@link LazyCommand.commandName}
1287
+ */
1268
1288
  commandName?: string;
1269
- /** Index signature to allow additional properties */
1289
+ /**
1290
+ * Index signature to allow additional properties
1291
+ */
1270
1292
  [key: string]: any;
1271
1293
  }
1272
1294
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gunshi/bone",
3
3
  "description": "gunshi minimum",
4
- "version": "0.27.2",
4
+ "version": "0.27.4",
5
5
  "author": {
6
6
  "name": "kazuya kawaguchi",
7
7
  "email": "kawakazu80@gmail.com"
@@ -56,10 +56,10 @@
56
56
  "jsr-exports-lint": "^0.4.1",
57
57
  "publint": "^0.3.16",
58
58
  "tsdown": "0.15.12",
59
- "@gunshi/plugin-global": "0.27.2",
60
- "@gunshi/definition": "0.27.2",
61
- "@gunshi/plugin-renderer": "0.27.2",
62
- "gunshi": "0.27.2"
59
+ "@gunshi/definition": "0.27.4",
60
+ "@gunshi/plugin-renderer": "0.27.4",
61
+ "@gunshi/plugin-global": "0.27.4",
62
+ "gunshi": "0.27.4"
63
63
  },
64
64
  "scripts": {
65
65
  "build": "tsdown",