agent-limit 0.5.0 → 0.6.0
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/README.md +1 -0
- package/bin/cli.tsx +4 -0
- package/package.json +1 -1
package/README.md
CHANGED
package/bin/cli.tsx
CHANGED
|
@@ -24,6 +24,9 @@ if (command === "usage") {
|
|
|
24
24
|
process.on("SIGTERM", cleanup);
|
|
25
25
|
|
|
26
26
|
root.render(<App onExit={cleanup} />);
|
|
27
|
+
} else if (command === "version" || command === "--version" || command === "-v") {
|
|
28
|
+
const pkg = await import("../package.json");
|
|
29
|
+
console.log(pkg.version);
|
|
27
30
|
} else if (command === "help" || command === "--help" || command === "-h" || !command) {
|
|
28
31
|
console.log(`
|
|
29
32
|
agent-limit
|
|
@@ -38,6 +41,7 @@ Quick Start:
|
|
|
38
41
|
|
|
39
42
|
CLI:
|
|
40
43
|
agent-limit usage Show usage dashboard
|
|
44
|
+
agent-limit version Show version
|
|
41
45
|
agent-limit help Show this help message
|
|
42
46
|
|
|
43
47
|
Dashboard Controls:
|