---
title: __init__
sidebarTitle: __init__
---

# `prefect.cli.transfer`



Command line interface for transferring resources between profiles.


## Functions

### `transfer` <sup><a href="https://github.com/PrefectHQ/prefect/blob/main/src/prefect/cli/transfer/__init__.py#L46" target="_blank"><Icon icon="github" style="width: 14px; height: 14px;" /></a></sup>

```python
transfer(from_profile: str = typer.Option(..., '--from', help='Source profile to transfer resources from'), to_profile: str = typer.Option(..., '--to', help='Target profile to transfer resources to'))
```


Transfer resources from one Prefect profile to another.

Automatically handles dependencies between resources and transfers them
in the correct order.


Examples:
    
    Transfer all resources from staging to production:
    
    $ prefect transfer --from staging --to prod

