Skip to content

Development

Clone the repository and run the standard verification target:

bash
git clone https://github.com/anduimagui/gittles.git
cd gittles
make verify

The manual equivalent is:

bash
go test ./...
go build ./...
go build -o gtl .
go install .
go test ./cmd -run 'Readme|Help'

Docs Site

The VitePress site lives in docs/. Generated command pages are built from the current Cobra help output.

bash
npm install
npm run docs:generate
npm run docs:dev
npm run docs:build

Production output is written to docs/.vitepress/dist.

The docs build emits llms.txt and llms-full.txt for agent-readable context.

Documentation Checks

bash
make docs-check

This validates that the top-level command table in README.md matches the Cobra command registry and that command help renders with expected usage lines.

Released under the MIT License.