42 lines
566 B
Markdown
42 lines
566 B
Markdown
# move
|
|
|
|
Move an application or library to another folder
|
|
|
|
## Usage
|
|
|
|
```bash
|
|
ng generate move ...
|
|
```
|
|
|
|
```bash
|
|
ng g mv ... # same
|
|
```
|
|
|
|
By default, Nx will search for `move` in the default collection provisioned in `angular.json`.
|
|
|
|
You can specify the collection explicitly as follows:
|
|
|
|
```bash
|
|
ng g @nrwl/workspace:move ...
|
|
```
|
|
|
|
Show what will be generated without writing to disk:
|
|
|
|
```bash
|
|
ng g move ... --dry-run
|
|
```
|
|
|
|
## Options
|
|
|
|
### destination
|
|
|
|
Type: `string`
|
|
|
|
The folder to move the project into
|
|
|
|
### projectName
|
|
|
|
Type: `string`
|
|
|
|
The name of the project to move
|