File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,6 +8,13 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
88# Build and symlink to ~/go/bin
99go build -o cclint . && ln -sf $( pwd) /cclint ~ /go/bin/cclint
1010
11+ # Build with version override
12+ go build -ldflags " -X github.com/dotcommander/cclint/cmd.Version=1.0.0" -o cclint .
13+
14+ # Version
15+ cclint --version # show version (defaults to "dev")
16+ cclint -V # short form
17+
1118# Run linter (defaults to ~/.claude)
1219cclint # lint all component types
1320cclint agents # lint only agents
Original file line number Diff line number Diff line change @@ -37,6 +37,9 @@ export PATH=$PATH:~/go/bin
3737git clone https://github.com/dotcommander/cclint.git && cd cclint
3838go build -o cclint .
3939ln -sf $( pwd) /cclint ~ /go/bin/cclint
40+
41+ # Or build with a specific version
42+ go build -ldflags " -X github.com/dotcommander/cclint/cmd.Version=1.0.0" -o cclint .
4043```
4144
4245## Quick Start
@@ -70,6 +73,10 @@ cclint context # Lint CLAUDE.md files
7073### Common Options
7174
7275``` bash
76+ # Show version
77+ cclint --version
78+ cclint -V
79+
7380# Project root (auto-detected by default)
7481cclint --root ~ /my-project agents
7582
You can’t perform that action at this time.
0 commit comments