@trieungoctam/speckit 0.3.3 → 0.3.4

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/cli.js CHANGED
@@ -21,6 +21,10 @@ import { closeCommand } from "./commands/close.js";
21
21
  export async function main(argv = process.argv.slice(2), root = process.cwd()) {
22
22
  const parsed = parseArgs(argv);
23
23
  try {
24
+ if (isHelp(parsed)) {
25
+ printHelp();
26
+ return 0;
27
+ }
24
28
  switch (parsed.command) {
25
29
  case "init":
26
30
  return initCommand({
@@ -134,6 +138,9 @@ function value(parsed, name) {
134
138
  function has(parsed, name) {
135
139
  return parsed.flags.has(name);
136
140
  }
141
+ function isHelp(parsed) {
142
+ return parsed.command === "help" || parsed.command === "--help" || parsed.command === "-h" || has(parsed, "help");
143
+ }
137
144
  function printHelp() {
138
145
  console.log(`Speckit - Agile + TDD workflow compiler for agentic IDEs
139
146
 
@@ -4,7 +4,7 @@
4
4
 
5
5
  Speckit MVP is implemented and pushed to `git@github.com:trieungoctam/speckit.git` on `main`.
6
6
 
7
- Current package target: `@trieungoctam/speckit@0.3.3`.
7
+ Current package target: `@trieungoctam/speckit@0.3.4`.
8
8
 
9
9
  The CLI is npx-ready, generates Agile + TDD rules, creates workflow artifacts, supports five IDE adapters, wraps Beads Viewer safely, includes an enterprise harness, and has automated prompt/readiness/session tests plus CI.
10
10
 
@@ -1,5 +1,16 @@
1
1
  # Project Changelog
2
2
 
3
+ ## 0.3.4 - 2026-05-11
4
+
5
+ ### Fixed
6
+
7
+ - Fixed global CLI help handling so `speckit --help`, `speckit -h`, `speckit help`, and command-level `--help` print usage without an unknown-command warning.
8
+
9
+ ### Quality
10
+
11
+ - Added CLI help regression coverage.
12
+ - `npm test` passes with 44 tests.
13
+
3
14
  ## 0.3.3 - 2026-05-11
4
15
 
5
16
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trieungoctam/speckit",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "Enterprise Agile + TDD workflow compiler for agentic IDEs.",
5
5
  "type": "module",
6
6
  "files": [