You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CLAUDE.md
+32-86Lines changed: 32 additions & 86 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,106 +6,52 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
6
6
7
7
`kclipper` is a superset of KCL that integrates Helm chart management. It provides KCL plugins, packages, and CLI commands to manage Helm charts declaratively and render them directly within KCL code. The binary is named `kcl` and can be used as a drop-in replacement.
8
8
9
-
## Build & Development Commands
9
+
## Build & Test Commands
10
10
11
11
```bash
12
-
# Format code
13
-
task format
14
-
15
-
# Lint all (Go, YAML, Actions, Renovate, GoReleaser)
16
-
task lint
17
-
18
-
# Run tests
19
-
task test
20
-
21
-
# Run a single test
22
-
go test ./pkg/helm -run TestHelmChart
12
+
task format # Format and lint
13
+
task lint # Lint only
14
+
task test# Run all tests
23
15
```
24
16
25
-
## Architecture
26
-
27
-
### Entry Point & CLI
28
-
29
-
-`cmd/kclipper/main.go` - Entry point, wraps upstream KCL CLI and registers plugins
30
-
-`cmd/kclipper/commands/` - Root command setup, adds `chart` and `export` subcommands to upstream KCL commands
31
-
32
-
### Core Packages (`pkg/`)
33
-
34
-
**Helm Integration:**
35
-
36
-
-`pkg/helm/` - Chart templating, pulling, dependency resolution (based on Argo CD's implementation, optimized for minimal I/O)
37
-
-`pkg/helmrepo/` - Helm repository management and authentication
38
-
-`pkg/helmtest/` - Test utilities for Helm operations
39
-
40
-
**KCL Plugins:**
41
-
42
-
-`pkg/kclplugin/helm/` - KCL plugin exposing `helm.template()` to KCL code
0 commit comments