This repository has been archived on 2026-03-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
mcdeploy/CLAUDE.md
Kyle Isom 02a28cff67 Migrate module path from kyle/ to mc/ org
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-27 02:07:56 -07:00

23 lines
799 B
Markdown

# CLAUDE.md
## Project Overview
mcdeploy is the Metacircular deployment CLI tool. It builds, pushes, and deploys container images to nodes, manages TLS certificates via Metacrypt, and checks container status.
## Build Commands
```bash
go build . # build the binary
go vet ./... # vet
```
## Architecture
- **Single binary** — all code in `package main`
- **Config** — TOML-based (`mcdeploy.toml`), defines services, images, nodes, and containers
- **Commands** — `build`, `push`, `deploy`, `cert renew`, `status`
- **Exec model** — shells out to `podman`, `ssh`, `scp`, and `git` for all operations
- **No auth** — relies on SSH keys and existing podman/registry auth
- **Module path**: `git.wntrmute.dev/mc/mcdeploy`
- **Dependencies**: cobra (CLI), go-toml/v2 (config)