Skip to content

Commit

Permalink
docs(core): address pr feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Apr 12, 2023
1 parent 2bfe4b2 commit 68b60b1
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 32 deletions.
16 changes: 3 additions & 13 deletions docs/generated/cli/init.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
---
title: "init - CLI command"
description: "Adds Nx to any type of workspace. It performs the following changes:
- Installs nx
- Creates an nx.json configuration file
- Sets up distributed caching (optional)
- If migrating an Angular CLI, CRA or NestJS workspace, it installs the relevant Nx plugins for better developer experience"
title: 'init - CLI command'
description: 'Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up distributed caching. For more info, check https://nx.dev/recipes/adopting-nx.'
---

# init

Adds Nx to any type of workspace. It performs the following changes:

- Installs nx
- Creates an nx.json configuration file
- Sets up distributed caching (optional)
- If migrating an Angular CLI, CRA or NestJS workspace, it installs the relevant Nx plugins for better developer experience
Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up distributed caching. For more info, check https://nx.dev/recipes/adopting-nx.

## Usage

Expand Down
16 changes: 3 additions & 13 deletions docs/generated/packages/nx/documents/init.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,11 @@
---
title: "init - CLI command"
description: "Adds Nx to any type of workspace. It performs the following changes:
- Installs nx
- Creates an nx.json configuration file
- Sets up distributed caching (optional)
- If migrating an Angular CLI, CRA or NestJS workspace, it installs the relevant Nx plugins for better developer experience"
title: 'init - CLI command'
description: 'Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up distributed caching. For more info, check https://nx.dev/recipes/adopting-nx.'
---

# init

Adds Nx to any type of workspace. It performs the following changes:

- Installs nx
- Creates an nx.json configuration file
- Sets up distributed caching (optional)
- If migrating an Angular CLI, CRA or NestJS workspace, it installs the relevant Nx plugins for better developer experience
Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up distributed caching. For more info, check https://nx.dev/recipes/adopting-nx.

## Usage

Expand Down
8 changes: 2 additions & 6 deletions packages/nx/src/command-line/nx-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,12 +303,8 @@ export const commandsObject = yargs
})
.command({
command: 'init',
describe: `Adds Nx to any type of workspace. It performs the following changes:
- Installs nx
- Creates an nx.json configuration file
- Sets up distributed caching (optional)
- If migrating an Angular CLI, CRA or NestJS workspace, it installs the relevant Nx plugins for better developer experience`,
describe:
'Adds Nx to any type of workspace. It installs nx, creates an nx.json configuration file and optionally sets up distributed caching. For more info, check https://nx.dev/recipes/adopting-nx.',
builder: (yargs) => withIntegratedOption(yargs),
handler: async (args: any) => {
await (await import('./init')).initHandler(args);
Expand Down

0 comments on commit 68b60b1

Please sign in to comment.