odexx 0.0.0 → 0.0.1
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/cli.js +33 -0
- package/index.js +1 -1
- package/package.json +27 -1
package/cli.js
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { argv } = process;
|
|
4
|
+
|
|
5
|
+
function printHelp() {
|
|
6
|
+
console.log(`Usage:
|
|
7
|
+
odexx <command> [options]
|
|
8
|
+
|
|
9
|
+
Commands:
|
|
10
|
+
codex Codex-related flow (coming soon)
|
|
11
|
+
claude Claude-related flow (coming soon)
|
|
12
|
+
|
|
13
|
+
Examples:
|
|
14
|
+
odexx codex
|
|
15
|
+
odexx claude
|
|
16
|
+
`);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
const [, , cmd] = argv;
|
|
20
|
+
|
|
21
|
+
if (!cmd || cmd === "-h" || cmd === "--help") {
|
|
22
|
+
printHelp();
|
|
23
|
+
process.exit(cmd ? 0 : 1);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
if (cmd === "codex" || cmd === "claude") {
|
|
27
|
+
console.error(`odexx ${cmd} — not implemented yet.`);
|
|
28
|
+
process.exit(1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
console.error(`Unknown command: ${cmd}`);
|
|
32
|
+
printHelp();
|
|
33
|
+
process.exit(1);
|
package/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
//
|
|
1
|
+
// odexx - coming soon
|
package/package.json
CHANGED
|
@@ -1 +1,27 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"name": "odexx",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "CLI entrypoint for agent workflows (odexx codex, odexx claude).",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"odexx",
|
|
7
|
+
"codex",
|
|
8
|
+
"claude",
|
|
9
|
+
"cli",
|
|
10
|
+
"ai",
|
|
11
|
+
"agent"
|
|
12
|
+
],
|
|
13
|
+
"homepage": "https://github.com/howtox/agent-family#readme",
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"main": "index.js",
|
|
16
|
+
"bin": {
|
|
17
|
+
"odexx": "cli.js"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/howtox/agent-family.git"
|
|
22
|
+
},
|
|
23
|
+
"files": [
|
|
24
|
+
"index.js",
|
|
25
|
+
"cli.js"
|
|
26
|
+
]
|
|
27
|
+
}
|