This repository was archived by the owner on Apr 15, 2026. It is now read-only.
feat(labctl): add images CLI foundation - #29
Merged
jmgilman merged 7 commits intoDec 20, 2025
Conversation
Implement the foundational infrastructure for the labctl images CLI tool: - Go module at tools/labctl/ with Cobra CLI scaffolding - images subcommand with sync, validate, list, prune, upload stubs - Config package for parsing ImageManifest YAML with validation - Credentials package for env vars and SOPS file resolution - Store package with S3-compatible client for iDrive e2 All packages include unit tests with no external dependencies. Closes HOM-19 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Runs on push to master and PRs when tools/labctl/** changes: - Format check (gofmt) - Go vet - golangci-lint - Tests with race detection 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
v7 is required for golangci-lint v2.x support. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Replace 'disable-all: true' with 'default: none' - Replace 'exclude-use-default: false' with 'exclusions.presets: []' 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
jmgilman
deleted the
joshuagilman/hom-19-labctl-images-cli-foundation
branch
December 20, 2025 04:54
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements the CLI foundation for
labctl imagesas specified in HOM-19:tools/labctl/with Go 1.23+ and Cobra CLIimagessubcommand with stubs for sync, validate, list, prune, uploadKey Features
WithContext)Test Coverage
Test plan
go build ./tools/labctlsucceedslabctl images --helpshows all subcommandsgo test ./... -racegolangci-lint run ./...reports 0 issuesgo vet ./...passesCloses HOM-19
🤖 Generated with Claude Code