Skip to content

Commit 5a8051f

Browse files
jbogarthydealexeagle
authored andcommitted
docs: expand doc for initial cmds
1 parent be2316e commit 5a8051f

File tree

6 files changed

+14
-7
lines changed

6 files changed

+14
-7
lines changed

packages/angular/cli/commands/add.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"$schema": "http://json-schema.org/schema",
33
"$id": "ng-cli://commands/add.json",
4-
"description": "Add support for a library to your project.",
4+
"description": "Adds support for a published library to your project.",
55
"$longDescription": "./add.md",
66

77
"$scope": "in",

packages/angular/cli/commands/add.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
1-
Add support for a library in your project, for example adding `@angular/pwa` which would configure
2-
your project for PWA support.
1+
Adds the npm package for a published library to your workspace, and configures your default
2+
app project to use that library, in whatever way is specified by the library's schematic.
3+
For example, adding `@angular/pwa` configures your project for PWA support.

packages/angular/cli/commands/new.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "http://json-schema.org/schema",
33
"$id": "ng-cli://commands/new.json",
4-
"description": "Creates a new directory and a new Angular app.",
5-
"$longDescription": "",
4+
"description": "Creates a new workspace and a new default Angular app.",
5+
"$longDescription": "./new.md",
66

77
"$aliases": [ "n" ],
88
"$scope": "out",

packages/angular/cli/commands/new.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Creates and initializes a new Angular app that is the default project for a new workspace.
2+
3+
* The new workspace folder is given the specified project name. The new app is created at the top level of the workspace folder.
4+
5+
* The new app's configuration appears in the `projects` section of the `angular.json` workspace configuration file, under its project name.

packages/angular/cli/commands/update.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"$schema": "http://json-schema.org/schema",
33
"$id": "ng-cli://commands/update.json",
4-
"description": "Updates your application and its dependencies.",
5-
"$longDescription": "",
4+
"description": "Updates your application and its dependencies. See \"https://update.angular.io/\",
5+
"$longDescription": "./update.md",
66

77
"$scope": "all",
88
"$aliases": [],
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Before running this command, see the interactive [Angular Update Guide](https://update.angular.io/).

0 commit comments

Comments
 (0)