go/docs/cmd/setup/example.md
Snider 78cb2b3507 docs: sync php, pkg, setup, doctor, test with CLI
- php: add serve flags, packages subcommands, all commands
- pkg: fix description (GitHub repos not Go modules), add --add flag
- setup: replace --path/--ssh with --dry-run/--only
- doctor: add --verbose flag
- test: full documentation with all flags and JSON output
- Cleaned up TODO.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 16:26:27 +00:00

32 lines
445 B
Markdown

# Setup Examples
```bash
# Clone all repos
core setup
# Preview what would be cloned
core setup --dry-run
# Only foundation packages
core setup --only foundation
# Multiple types
core setup --only foundation,module
```
## Configuration
`repos.yaml`:
```yaml
org: host-uk
repos:
core-php:
type: package
core-tenant:
type: package
depends: [core-php]
core-admin:
type: package
depends: [core-php, core-tenant]
```