Reference
pier copy
Copy a resource to another environment
pier copy <command>Copy a resource to another environment.
Subcommands
pier copy app
pier copy app [<name>] [flags]Copy an app to another environment.
| Argument | Required | Description |
|---|---|---|
<name> | no | App name or slug to copy |
| Flag | Value | Default | Description |
|---|---|---|---|
--to | STRING | Target environment slug |
pier copy site
pier copy site [<name>] [flags]Copy a site to another environment.
| Argument | Required | Description |
|---|---|---|
<name> | no | Site name or slug to copy |
| Flag | Value | Default | Description |
|---|---|---|---|
--to | STRING | Target environment slug |
Global flags apply to every command.