@irfnd/ape 0.1.0 → 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/ape.js +8 -0
- package/package.json +5 -1
package/dist/ape.js
CHANGED
|
@@ -21717,9 +21717,17 @@ class Cli {
|
|
|
21717
21717
|
${this.usage()}`);
|
|
21718
21718
|
return 2;
|
|
21719
21719
|
}
|
|
21720
|
+
if (name !== "hook" && args.some((a) => a === "-h" || a === "--help")) {
|
|
21721
|
+
this.out.out(`ape ${command.name}: ${command.summary}`);
|
|
21722
|
+
return 0;
|
|
21723
|
+
}
|
|
21720
21724
|
try {
|
|
21721
21725
|
return await command.run(args);
|
|
21722
21726
|
} catch (err) {
|
|
21727
|
+
if (err.code?.startsWith("ERR_PARSE_ARGS")) {
|
|
21728
|
+
this.out.err(`ape ${command.name}: ${err.message}`);
|
|
21729
|
+
return 2;
|
|
21730
|
+
}
|
|
21723
21731
|
if (err instanceof ConfigError) {
|
|
21724
21732
|
this.out.err(err.message);
|
|
21725
21733
|
return 1;
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@irfnd/ape",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"author": "Irfnd <irfandiabimanyu@gmail.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "git+https://github.com/irfnd/ape.git"
|
|
9
|
+
},
|
|
6
10
|
"description": "APE client: shared project memory hooks for coding agents and a Zed edit-prediction adapter, backed by a remote ape-server",
|
|
7
11
|
"type": "module",
|
|
8
12
|
"bin": {
|