Skip to content

Commit 1648b59

Browse files
committed
Yeoman command line doc updates
1 parent 0782411 commit 1648b59

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

docs/spfx/toolchain/scaffolding-projects-using-yeoman-sharepoint-generator.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ Option | Description
6161
--component-name|Name of the component.
6262
--framework|Framework to use for the solution. Choose one from "none", "react", "knockout".
6363
--plusbeta| Use the beta packages. Scaffolding should be done with @plusbeta
64-
--extensionType|The type of extension: Currently ApplicationCustomizer, FieldCustomizer, ListViewCommandSet.
65-
--solutionName|Client-side solution name, as well as folder name.
64+
--extension-type|The type of extension: Currently ApplicationCustomizer, FieldCustomizer, ListViewCommandSet.
65+
--solution-name|Client-side solution name, as well as folder name.
6666
--environment|The target environment for the solution. Either "onprem" or "spo".
6767
--package-manager|The package manager for the solution. Options are: "npm", "pnpm", or "yarn". Default: *npm*
6868
--skip-feature-deployment|If specified, allow the tenant admin the choice of being able to deploy the components to all sites immediately without running any feature deployment or adding apps in sites. Default: *false*.
@@ -71,7 +71,7 @@ Option | Description
7171

7272

7373
> [!WARNING]
74-
> *skip-feature-deployment* command line support was introduced with the SharePoint Framework v1.5. This option was previously a command line argument called *skipFeatureDeployment*. Also *component-type*, *component-description* and *component-name* have been renamed.
74+
> *skip-feature-deployment* command line support was introduced with the SharePoint Framework v1.5. This option was previously a command line argument called *skipFeatureDeployment*. Also *solution-name*, *extension-type*, *component-type*, *component-description* and *component-name* have been renamed.
7575
7676
Following is an example of a command that creates a solution called "hello-world" with:
7777
- A web part "HelloWorld"
@@ -82,11 +82,11 @@ Notice that some of the options have dependencies between each other. You cannot
8282

8383
```
8484
yo @microsoft/sharepoint
85-
--solutionName "hello-world"
85+
--solution-name "hello-world"
8686
--framework "react"
87-
--componentType "webpart"
88-
--componentName "HelloWorld"
89-
--componentDescription "HelloWorld web part"
87+
--component-type "webpart"
88+
--component-name "HelloWorld"
89+
--component-description "HelloWorld web part"
9090
--skip-install
9191
--environment "spo"
9292
--skip-feature-deployment true

0 commit comments

Comments
 (0)