Create script
Create a Cloud-Code script.
阅读时间1 分钟最后更新于 2 天前
Create a Cloud-Code script. Please check Parameter parsing for scripts to see how the command parses the parameters in the script. If you plan to create multiple scripts, checkout Deploy.
Command
Authentication Required:Yesugs cloud-code scripts create <script-name> <file-path> [options]
Arguments
<script-name><file-path>Options
Alias | Description | |
|---|---|---|
| project-id | -p, --project-id | The Unity cloud project ID. |
| environment | -e, --environment-name | The services environment name. |
| type | -t, --type | Type of the target script. |
| language | -l, --language | Language of the target script. |
| help | -?, -h, --help | Display help and usage information. |
| quiet | -q, --quiet | Reduce logging to a minimum. |
| json | -j, --json | Use JSON as the output format. |