step-by-step-cli 0.1.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/bin/step-by-step.js +28 -0
- package/package.json +21 -0
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
|
|
3
|
+
const { execFileSync, spawnSync } = require("child_process");
|
|
4
|
+
|
|
5
|
+
const args = process.argv.slice(2);
|
|
6
|
+
|
|
7
|
+
function has(cmd) {
|
|
8
|
+
try {
|
|
9
|
+
execFileSync(cmd, ["--version"], { stdio: "ignore" });
|
|
10
|
+
return true;
|
|
11
|
+
} catch {
|
|
12
|
+
return false;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
if (has("uvx")) {
|
|
17
|
+
const result = spawnSync("uvx", ["step-by-step-cli", ...args], { stdio: "inherit" });
|
|
18
|
+
process.exit(result.status ?? 1);
|
|
19
|
+
} else if (has("pipx")) {
|
|
20
|
+
const result = spawnSync("pipx", ["run", "step-by-step-cli", ...args], { stdio: "inherit" });
|
|
21
|
+
process.exit(result.status ?? 1);
|
|
22
|
+
} else {
|
|
23
|
+
console.error(
|
|
24
|
+
"Error: requires 'uvx' or 'pipx'.\n" +
|
|
25
|
+
"Install uv: https://docs.astral.sh/uv/getting-started/installation/"
|
|
26
|
+
);
|
|
27
|
+
process.exit(1);
|
|
28
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "step-by-step-cli",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "LLM Development Pipeline UI — GitHub Actions-style multi-agent pipeline powered by Claude",
|
|
5
|
+
"keywords": ["llm", "ai", "cli", "pipeline", "claude", "automation", "developer-tools"],
|
|
6
|
+
"homepage": "https://github.com/ValentinDutra/step-by-step-cli",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "https://github.com/ValentinDutra/step-by-step-cli.git"
|
|
10
|
+
},
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"bin": {
|
|
13
|
+
"pipeline": "bin/step-by-step.js"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"bin/"
|
|
17
|
+
],
|
|
18
|
+
"engines": {
|
|
19
|
+
"node": ">=18"
|
|
20
|
+
}
|
|
21
|
+
}
|