Skip to main content

Download the service code

Download the Cloud Hosting service code

Basic Usage

Enter the following command to download the code of the specified service:

tcb cloudrun download

Advanced Usage

Manually specify relevant parameters to download the service code:

tcb cloudrun download -e <Environment ID> --serviceName <Service Name> --targetPath <Target Path> --force

Command Line Parameters

The supported command line parameters are as follows:

Options:
-e, --envId <envId> Environment ID
-s, --serviceName <serviceName> Service name
--targetPath <targetPath> Target path for code download (absolute or relative path, default: current directory)
--force Force overwrite without confirmation
-h, --help Display command help information