Skip to main content

Import scripts

Import Cloud Code scripts into the current environment.


Authentication Required: Yes

ugs cloud-code scripts import <in-dir> <file-name> [options]


<in-dir> The input directory for the import command

<file-name> The output file name for the import command


project-id-p, --project-idThe Unity cloud project ID.
environment-e, --environment-nameThe services environment name.
dry run--dry-runThe command will do a dry run [default: False]
reconcile--reconcileThe command will delete existing configs before importing [default: False]
help-?, -h, --helpDisplay help and usage information.
quiet-q, --quietReduce logging to a minimum.
json-j, --jsonUse JSON as the output format.