copy-source - Cloud Foundry CLI Reference Guide


NAME

copy-source - Copies the source code of an application to another existing application and restages that application

USAGE

cf copy-source SOURCE_APP DESTINATION_APP [-s TARGET_SPACE [-o TARGET_ORG]] [--no-restart] [--strategy STRATEGY] [--no-wait]

OPTIONS

--strategy

Deployment strategy, either rolling or null

--no-wait

Exit when the first instance of the web process is healthy

--no-restart

Do not restage the destination application

--organization, -o

Org that contains the destination application

--space, -s

Space that contains the destination application

ENVIRONMENT

CF_STAGING_TIMEOUT=15 Max wait time for staging, in minutes
CF_STARTUP_TIMEOUT=5 Max wait time for app instance startup, in minutes

SEE ALSO

apps, push, restage, restart, target