skillio 0.1.1 → 0.1.2
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/dist/cli.js +5 -1
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
|
|
3
|
+
// src/cli.ts
|
|
4
|
+
import { createRequire } from "node:module";
|
|
5
|
+
|
|
3
6
|
// node_modules/citty/dist/_chunks/libs/scule.mjs
|
|
4
7
|
var NUMBER_CHAR_RE = /\d/;
|
|
5
8
|
var STR_SPLITTERS = [
|
|
@@ -995,6 +998,7 @@ var removeCommand = defineCommand({
|
|
|
995
998
|
});
|
|
996
999
|
|
|
997
1000
|
// src/cli.ts
|
|
1001
|
+
var { version } = createRequire(import.meta.url)("../package.json");
|
|
998
1002
|
var SUBCOMMANDS = new Set(["audit", "list", "ls", "remove", "rm"]);
|
|
999
1003
|
var HELP_FLAGS = new Set(["--help", "-h", "--version", "-v"]);
|
|
1000
1004
|
var firstArg = process.argv[2];
|
|
@@ -1004,7 +1008,7 @@ if (firstArg === undefined || !SUBCOMMANDS.has(firstArg) && !HELP_FLAGS.has(firs
|
|
|
1004
1008
|
var main = defineCommand({
|
|
1005
1009
|
meta: {
|
|
1006
1010
|
name: "skillio",
|
|
1007
|
-
version
|
|
1011
|
+
version,
|
|
1008
1012
|
description: "Audit and manage AI agent skills"
|
|
1009
1013
|
},
|
|
1010
1014
|
subCommands: {
|