Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
/deploy
15 changes: 14 additions & 1 deletion AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,20 @@ This is a **configuration-only** dotfiles repository for macOS. There is no buil
Installs: Homebrew, CLI tools (tmux, neovim, fzf, fd, ripgrep, etc.), Oh My Zsh, TPM, NVM, fonts.
Skips anything already installed.

### Deploy Configs
### Deploy Configs (Go CLI - primary)

```bash
go run ./cmd/deploy/ # Interactive deploy with TUI
./deploy # Run pre-built binary
go build -o deploy ./cmd/deploy/ # Build the binary
```

Interactive Bubble Tea TUI with checkbox selection for targets. Supports:
- `space` to toggle targets, `a` to toggle all, `enter` to deploy
- Backup toggle (`b` on confirm screen)
- Catppuccin Mocha colored output

### Deploy Configs (Shell - fallback)

```bash
./deploy.sh # Deploy all configs (with backup)
Expand Down
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
BINARY := deploy
CMD := ./cmd/deploy
LDFLAGS := -s -w

.PHONY: build run clean

build:
go build -ldflags="$(LDFLAGS)" -o $(BINARY) $(CMD)

run:
go run $(CMD)

clean:
rm -f $(BINARY)
Loading
Loading