go/docs/cmd/dev/push/index.md
Snider 9add6cf2ee refactor(cli): restructure cmd packages into subdirectories
- Move CLI commands into subdirectories matching command hierarchy:
  dev/, go/, php/, build/, ci/, sdk/, pkg/, vm/, docs/, setup/, doctor/, test/, ai/
- Create shared/ package for common styles and utilities
- Add new `core ai` root command with claude subcommand
- Update package declarations and imports across all files
- Create commands.go entry points for each package
- Remove GUI-related files (moved to core-gui repo)

This makes the filesystem structure match the CLI command structure,
improving context capture and code organization.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 18:02:43 +00:00

958 B

core dev push

Push commits across all repositories.

Pushes unpushed commits for all repos. Shows repos with commits to push and confirms before pushing.

Usage

core dev push [flags]

Flags

Flag Description
--registry Path to repos.yaml (auto-detected if not specified)
--force Skip confirmation prompt

Examples

# Push with confirmation
core dev push

# Push without confirmation
core dev push --force

# Use specific registry
core dev push --registry ~/projects/repos.yaml

Output

3 repo(s) with unpushed commits:
  core-php: 2 commit(s)
  core-admin: 1 commit(s)
  core-tenant: 1 commit(s)

Push all? [y/N] y

  ✓ core-php
  ✓ core-admin
  ✓ core-tenant

See Also