@peleke.s/buildlog 0.13.0 → 0.13.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/bin/buildlog.mjs +36 -2
- package/package.json +1 -1
package/bin/buildlog.mjs
CHANGED
|
@@ -67,8 +67,42 @@ async function main() {
|
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
-
// Nothing worked
|
|
71
|
-
|
|
70
|
+
// Nothing worked — show helpful output depending on flags
|
|
71
|
+
const wantsHelp = args.includes("--help") || args.includes("-h");
|
|
72
|
+
const wantsVersion = args.includes("--version") || args.includes("-V");
|
|
73
|
+
|
|
74
|
+
if (wantsVersion) {
|
|
75
|
+
console.log("buildlog (npm wrapper) — Python CLI not installed");
|
|
76
|
+
console.log("Install the Python CLI to see the full version.");
|
|
77
|
+
} else if (wantsHelp) {
|
|
78
|
+
console.log(`buildlog — Engineering notebook for AI-assisted development
|
|
79
|
+
|
|
80
|
+
Usage: buildlog <command> [options]
|
|
81
|
+
|
|
82
|
+
Commands:
|
|
83
|
+
init Initialize buildlog in current directory
|
|
84
|
+
init-mcp Register MCP server (--global for ~/.claude.json)
|
|
85
|
+
new <slug> Create a new journal entry
|
|
86
|
+
commit -m "msg" Git commit with auto buildlog entry
|
|
87
|
+
verify Check workflow setup (--fix to auto-repair)
|
|
88
|
+
overview Project state at a glance
|
|
89
|
+
skills Generate rules from entries
|
|
90
|
+
status Show extracted skills
|
|
91
|
+
promote <ids> Promote skills to agent rules
|
|
92
|
+
distill Extract patterns from entries
|
|
93
|
+
reward <outcome> Log reward signal
|
|
94
|
+
export Export data to JSONL
|
|
95
|
+
migrate Migrate legacy files to SQLite
|
|
96
|
+
|
|
97
|
+
MCP Server (34 tools):
|
|
98
|
+
buildlog exposes an MCP server for Claude Code integration.
|
|
99
|
+
Run: buildlog init-mcp --global
|
|
100
|
+
|
|
101
|
+
Docs: https://github.com/Peleke/buildlog-template`);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
console.error(`
|
|
105
|
+
buildlog: Python CLI not found.
|
|
72
106
|
|
|
73
107
|
Install buildlog (pick one):
|
|
74
108
|
pip install buildlog
|
package/package.json
CHANGED