# New-File

> Creates a new C# Module solution locally filled with template code and a publish profile.

Creates a new C# Module solution locally filled with template code and a publish profile.

## Command

Authentication Required: `No`

```text
ugs cloud-code m new-file [<module-name> module-directory>] [options]
```

## Arguments

`<module-name>` Name of the target module
`<module-directory>` Directory for the new module

## Options

| Option | Alias          | Description                         |
| ------ | -------------- | ----------------------------------- |
| force  | -f, --force    | Overwrites existing file.           |
| 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.      |
