Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions cmd/ckb/setup.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,11 @@
setupCmd.Flags().BoolVar(&setupNpx, "npx", false, "Use npx @tastehub/ckb for portable setup")
setupCmd.Flags().StringVar(&setupTool, "tool", "", "AI tool to configure (claude-code, cursor, windsurf, vscode, opencode, grok, claude-desktop)")
setupCmd.Flags().StringVar(&setupPreset, "preset", "", "Tool preset: core (default), review, refactor, federation, docs, ops, full")
setupGlobal, _ := cmd.Flags().GetBool("global")

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Security Scan

declared and not used: setupGlobal

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Security Scan

undefined: cmd

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Analyze

undefined: cmd

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Analyze

declared and not used: setupGlobal

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test

undefined: cmd

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test

declared and not used: setupGlobal

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

undefined: cmd

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

declared and not used: setupGlobal

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

undefined: cmd

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

declared and not used: setupGlobal

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

declared and not used: setupGlobal

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

undefined: cmd

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

declared and not used: setupGlobal

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

undefined: cmd

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Lint

undefined: cmd

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Lint

declared and not used: setupGlobal

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Go SAST / Gosec Security Scan

undefined: cmd

Check failure on line 65 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Go SAST / Gosec Security Scan

declared and not used: setupGlobal
setupNpx, _ := cmd.Flags().GetBool("npx")

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Security Scan

declared and not used: setupNpx

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Security Scan

undefined: cmd

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Analyze

undefined: cmd

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Analyze

declared and not used: setupNpx

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test

undefined: cmd

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test

declared and not used: setupNpx

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

undefined: cmd

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

declared and not used: setupNpx

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

declared and not used: setupNpx

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

undefined: cmd

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

declared and not used: setupNpx

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

undefined: cmd

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Lint

undefined: cmd

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Lint

declared and not used: setupNpx

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Go SAST / Gosec Security Scan

undefined: cmd

Check failure on line 66 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Go SAST / Gosec Security Scan

declared and not used: setupNpx
setupTool, _ := cmd.Flags().GetString("tool")

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Security Scan

declared and not used: setupTool

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Security Scan

undefined: cmd

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Analyze

undefined: cmd

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Analyze

declared and not used: setupTool

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test

undefined: cmd

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test

declared and not used: setupTool

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

undefined: cmd

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

declared and not used: setupTool

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

declared and not used: setupTool

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

undefined: cmd

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

declared and not used: setupTool

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

undefined: cmd

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Lint

undefined: cmd

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Lint

declared and not used: setupTool

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Go SAST / Gosec Security Scan

undefined: cmd

Check failure on line 67 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Go SAST / Gosec Security Scan

declared and not used: setupTool
setupPreset, _ := cmd.Flags().GetString("preset")

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Security Scan

declared and not used: setupPreset

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Security Scan

undefined: cmd

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Analyze

undefined: cmd

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Analyze

declared and not used: setupPreset

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test

undefined: cmd

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test

declared and not used: setupPreset

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

undefined: cmd

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Test Coverage

declared and not used: setupPreset

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

declared and not used: setupPreset

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

undefined: cmd

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

declared and not used: setupPreset

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Dependencies / Dependency Scan

undefined: cmd

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Lint

undefined: cmd (typecheck)

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Lint

declared and not used: setupPreset

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Go SAST / Gosec Security Scan

undefined: cmd

Check failure on line 68 in cmd/ckb/setup.go

View workflow job for this annotation

GitHub Actions / Go SAST / Gosec Security Scan

declared and not used: setupPreset

rootCmd.AddCommand(setupCmd)
}

Expand Down
Loading