Skip to main content

Initialize Project

Initialize the cloud hosting service code project

Basic Usage

Enter the following command to start interactive initialization. During this process, the CLI will automatically prompt you for information such as the required environment and service name.

tcb cloudrun init

Advanced Usage

Manually specify relevant parameters to initialize the project:

tcb cloudrun init -e <Environment ID> -s <Service Name>

Command Line Parameters

The supported command line parameters are as follows:

Options:
-e, --envId <envId> Environment ID
-s, --serviceName <serviceName> Service name
--template <template> Template name
--targetPath <targetPath> Target path for project initialization (absolute or relative path, default: current directory)
-h, --help Display command help information