diff --git a/docs/generated/cli/init.md b/docs/generated/cli/init.md index 88b941ff125c2..cccde6f4946e6 100644 --- a/docs/generated/cli/init.md +++ b/docs/generated/cli/init.md @@ -1,11 +1,11 @@ --- title: 'init - CLI command' -description: 'Adds nx.json file and installs nx if not installed already' +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.json file and installs nx if not installed already +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 diff --git a/docs/generated/packages/nx/documents/init.md b/docs/generated/packages/nx/documents/init.md index 88b941ff125c2..cccde6f4946e6 100644 --- a/docs/generated/packages/nx/documents/init.md +++ b/docs/generated/packages/nx/documents/init.md @@ -1,11 +1,11 @@ --- title: 'init - CLI command' -description: 'Adds nx.json file and installs nx if not installed already' +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.json file and installs nx if not installed already +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 diff --git a/packages/nx/src/command-line/nx-commands.ts b/packages/nx/src/command-line/nx-commands.ts index c6008efc6994d..7cf8508cff668 100644 --- a/packages/nx/src/command-line/nx-commands.ts +++ b/packages/nx/src/command-line/nx-commands.ts @@ -303,7 +303,8 @@ export const commandsObject = yargs }) .command({ command: 'init', - describe: 'Adds nx.json file and installs nx if not installed already', + 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);