# /rootcx:pull

Pull files from RootCX cloud to local.

## Usage

```bash
npx @rootcx/cli pull
```

## Options

- `--force` - Overwrite local files without confirmation

```bash
npx @rootcx/cli pull --force
```

## What it does

1. Fetches all project files from RootCX cloud
2. Writes them to the current directory
3. Overwrites existing files (with confirmation)

## Which files are pulled?

All files stored in the RootCX project, typically:
- `manifest.json`
- `App.tsx`
- `types/*.ts`
- `components/*.tsx`
- `hooks/*.ts`
- Any other source files

## Conflict Resolution

If local files have been modified:
1. You'll see a warning about conflicts
2. Use `--force` to overwrite, or
3. Backup local changes first

## Workflow

1. Run `/rootcx:pull` to get latest from cloud
2. Make your changes
3. Run `verify_build` to validate
4. Run `/rootcx:push` when done

## When to use

- Starting work on an existing project
- Getting changes made by others
- Syncing from RootCX dashboard edits

## Requirements

- Must be in a linked RootCX project directory
- Must be authenticated
