testy-claw init
Scaffold a claw.config.ts in the current directory. Detects your stack and writes sensible defaults.
Usage
terminal
testy-claw init [options]What it does
Running init will:
terminal
testy-claw init
✓ Detected: Node.js / TypeScript
✓ Created claw.config.ts
✓ Added .claw/ to .gitignore
✓ Ready — run: testy-claw run "your task"Options
| Flag | Description |
|---|---|
| --force | Overwrite existing claw.config.ts |
| --no-gitignore | Skip updating .gitignore |
| --model <id> | Set the default model in the generated config |
Generated config
claw.config.ts
import { defineConfig } from "testy-claw";
export default defineConfig({
model: "gpt-4o",
tools: ["fs", "shell"],
maxSteps: 20,
timeout: 30_000,
});