# Import scripts

> Import Cloud Code scripts into the current environment.

Import Cloud Code scripts into the current environment.

## Command

Authentication Required: `Yes`

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

## Arguments

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

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

## Options

|             | Alias                  | Description                                                                 |
| ----------- | ---------------------- | --------------------------------------------------------------------------- |
| project-id  | -p, --project-id       | The Unity cloud project ID.                                                 |
| environment | -e, --environment-name | The services environment name.                                              |
| dry run     | --dry-run              | The command will do a dry run \[default: False]                             |
| reconcile   | --reconcile            | The command will delete existing configs before importing \[default: False] |
| 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.                                              |
