Skip to content

Commit

Permalink
feat(core): guide users to view the graph after nx init (nrwl#21303)
Browse files Browse the repository at this point in the history
  • Loading branch information
Coly010 authored Jan 25, 2024
1 parent a1c0434 commit 8bc8d69
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions packages/nx/src/command-line/init/init-v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@ export async function initHandler(options: InitArgs): Promise<void> {
}
);
}

output.log({
title: '👀 Explore the Graph of Your Workspace',
bodyLines: [
`Run "nx graph" to show the graph of the workspace. It will show tasks that you can run with Nx.`,
`Read this guide on exploring the graph: https://nx.dev/core-features/explore-graph`,
],
});
}

const npmPackageToPluginMap: Record<string, string> = {
Expand Down

0 comments on commit 8bc8d69

Please sign in to comment.