2026-01-29 15:40:13 +00:00
|
|
|
# core dev work
|
2026-01-29 09:44:28 +00:00
|
|
|
|
|
|
|
|
Multi-repo git operations for managing the host-uk organization.
|
|
|
|
|
|
|
|
|
|
## Overview
|
|
|
|
|
|
2026-01-29 15:40:13 +00:00
|
|
|
The `core dev work` command and related subcommands help manage multiple repositories in the host-uk ecosystem simultaneously.
|
2026-01-29 09:44:28 +00:00
|
|
|
|
|
|
|
|
## Commands
|
|
|
|
|
|
|
|
|
|
| Command | Description |
|
|
|
|
|
|---------|-------------|
|
2026-01-29 15:40:13 +00:00
|
|
|
| `core dev work` | Full workflow: status + commit + push |
|
|
|
|
|
| `core dev work --status` | Status table only |
|
|
|
|
|
| `core dev health` | Quick health check across all repos |
|
|
|
|
|
| `core dev issues` | List open issues across all repos |
|
|
|
|
|
| `core dev reviews` | List PRs needing review |
|
|
|
|
|
| `core dev commit` | Claude-assisted commits across repos |
|
|
|
|
|
| `core dev push` | Push commits across all repos |
|
|
|
|
|
| `core dev pull` | Pull updates across all repos |
|
|
|
|
|
| `core dev impact` | Show impact of changing a repo |
|
|
|
|
|
|
|
|
|
|
## core dev health
|
2026-01-29 09:44:28 +00:00
|
|
|
|
|
|
|
|
Quick health check showing status of all repos.
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-29 15:40:13 +00:00
|
|
|
core dev health
|
2026-01-29 09:44:28 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Output shows:
|
|
|
|
|
- Git status (clean/dirty)
|
|
|
|
|
- Current branch
|
|
|
|
|
- Commits ahead/behind remote
|
|
|
|
|
|
2026-01-29 15:40:13 +00:00
|
|
|
## core dev issues
|
2026-01-29 09:44:28 +00:00
|
|
|
|
|
|
|
|
List open issues across all repositories.
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-29 15:40:13 +00:00
|
|
|
core dev issues [flags]
|
2026-01-29 09:44:28 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Flags
|
|
|
|
|
|
|
|
|
|
| Flag | Description |
|
|
|
|
|
|------|-------------|
|
|
|
|
|
| `--assignee` | Filter by assignee |
|
|
|
|
|
| `--label` | Filter by label |
|
|
|
|
|
| `--limit` | Max issues per repo |
|
|
|
|
|
|
2026-01-29 15:40:13 +00:00
|
|
|
## core dev reviews
|
2026-01-29 09:44:28 +00:00
|
|
|
|
|
|
|
|
List pull requests needing review.
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-29 15:40:13 +00:00
|
|
|
core dev reviews [flags]
|
2026-01-29 09:44:28 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Shows PRs where:
|
|
|
|
|
- You are a requested reviewer
|
|
|
|
|
- PR is open and not draft
|
|
|
|
|
- CI is passing
|
|
|
|
|
|
2026-01-29 15:40:13 +00:00
|
|
|
## core dev commit
|
2026-01-29 09:44:28 +00:00
|
|
|
|
|
|
|
|
Create commits across repos with Claude assistance.
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-29 15:40:13 +00:00
|
|
|
core dev commit [flags]
|
2026-01-29 09:44:28 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Flags
|
|
|
|
|
|
|
|
|
|
| Flag | Description |
|
|
|
|
|
|------|-------------|
|
|
|
|
|
| `--message` | Commit message (auto-generated if not provided) |
|
|
|
|
|
| `--all` | Commit in all dirty repos |
|
|
|
|
|
|
|
|
|
|
Claude analyzes changes and suggests conventional commit messages.
|
|
|
|
|
|
2026-01-29 15:40:13 +00:00
|
|
|
## core dev push
|
2026-01-29 09:44:28 +00:00
|
|
|
|
|
|
|
|
Push commits across all repos.
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-29 15:40:13 +00:00
|
|
|
core dev push [flags]
|
2026-01-29 09:44:28 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Flags
|
|
|
|
|
|
|
|
|
|
| Flag | Description |
|
|
|
|
|
|------|-------------|
|
|
|
|
|
| `--all` | Push all repos with unpushed commits |
|
|
|
|
|
| `--force` | Force push (use with caution) |
|
|
|
|
|
|
2026-01-29 15:40:13 +00:00
|
|
|
## core dev pull
|
2026-01-29 09:44:28 +00:00
|
|
|
|
|
|
|
|
Pull updates across all repos.
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-29 15:40:13 +00:00
|
|
|
core dev pull [flags]
|
2026-01-29 09:44:28 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
### Flags
|
|
|
|
|
|
|
|
|
|
| Flag | Description |
|
|
|
|
|
|------|-------------|
|
|
|
|
|
| `--all` | Pull all repos |
|
|
|
|
|
| `--rebase` | Rebase instead of merge |
|
|
|
|
|
|
2026-01-29 15:40:13 +00:00
|
|
|
## core dev impact
|
2026-01-29 09:44:28 +00:00
|
|
|
|
|
|
|
|
Show the impact of changing a repository.
|
|
|
|
|
|
|
|
|
|
```bash
|
2026-01-29 15:40:13 +00:00
|
|
|
core dev impact <repo>
|
2026-01-29 09:44:28 +00:00
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Shows:
|
|
|
|
|
- Dependent repos
|
|
|
|
|
- Reverse dependencies
|
|
|
|
|
- Potential breaking changes
|
|
|
|
|
|
|
|
|
|
## Registry
|
|
|
|
|
|
|
|
|
|
These commands use `repos.yaml` to know which repos to manage:
|
|
|
|
|
|
|
|
|
|
```yaml
|
|
|
|
|
repos:
|
|
|
|
|
- name: core
|
|
|
|
|
path: ./core
|
|
|
|
|
url: https://github.com/host-uk/core
|
|
|
|
|
- name: core-php
|
|
|
|
|
path: ./core-php
|
|
|
|
|
url: https://github.com/host-uk/core-php
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
Use `core setup` to clone all repos from the registry.
|
|
|
|
|
|
|
|
|
|
## See Also
|
|
|
|
|
|
2026-01-29 15:18:13 +00:00
|
|
|
- [setup command](../../setup/) - Clone repos from registry
|
|
|
|
|
- [search command](../../pkg/search/) - Find and install repos
|