@@ -9,7 +9,7 @@ This repository contains the Hookdeck CLI, a Go-based command-line tool for mana
99- ` pkg/hookdeck/ ` - API client and models
1010- ` pkg/config/ ` - Configuration management
1111- ` pkg/listen/ ` - Local webhook forwarding functionality
12- - ` cmd/hookdeck/ ` - Main entry point
12+ - ` main.go ` - Main entry point (repo root)
1313- ` REFERENCE.md ` - Complete CLI documentation and examples
1414
1515### Key Files
@@ -240,7 +240,7 @@ This applies to **`go test`**, **`go mod download`**, **`git`**, **`gh`**, build
240240# ## Building and Testing
241241` ` ` bash
242242# Build the CLI
243- go build -o hookdeck cmd/hookdeck/main.go
243+ go build -o hookdeck .
244244
245245# Run all unit tests (default packages; run from repo root)
246246go test ./...
@@ -317,10 +317,10 @@ go vet ./...
317317# ## Local Development
318318` ` ` bash
319319# Run CLI directly during development
320- go run cmd/hookdeck/main.go < command>
320+ go run . < command>
321321
322322# Example: Test login command
323- go run cmd/hookdeck/main.go login --help
323+ go run . login --help
324324` ` `
325325
326326# ## Sandbox and command execution
@@ -430,8 +430,8 @@ Acceptance tests in `test/acceptance/` are partitioned by **feature build tags**
430430
431431| Command | Purpose |
432432|---------|---------|
433- | `go run cmd/hookdeck/main.go --help` | View CLI help |
434- | `go build -o hookdeck cmd/hookdeck/main.go ` | Build CLI binary |
433+ | `go run . --help` | View CLI help |
434+ | `go build -o hookdeck . ` | Build CLI binary |
435435| `go test ./...` | All unit tests (repo root; agents: run with `required_permissions: ["all"]`) |
436436| `go test ./pkg/cmd/` | Test command implementations only |
437437| `go generate ./...` | Run code generation (if used) |
0 commit comments