Skip to content

Commit 24071f7

Browse files
authored
improved documentation clarity
moved `globOptions` next to `templateFiles` added an inheritance notation to `skipIfExists` on `addMany`
1 parent 21684e6 commit 24071f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -269,11 +269,11 @@ Property | Type | Default | Description
269269
**destination** | *String* | | a handlebars template that (when rendered) is the destination folder for the new files
270270
**base** | *String* | | the section of the path that should be excluded when adding files to the `destination` folder
271271
**templateFiles** | *[Glob](https://github.com/sindresorhus/globby#globbing-patterns)* | | glob pattern that matches multiple template files to be added
272-
**skipIfExists** | *Boolean* | `false` | skips a file if it already exists (instead of failing)
272+
**globOptions** | *[Object](https://github.com/sindresorhus/globby#options)* | | glob options that change how to match to the template files to be added
273+
**skipIfExists** | *Boolean* | `false` | *inherited from [Add](#add)* (skips a file if it already exists)
273274
**force** | *Boolean* | `false` | *inherited from [ActionConfig](#-interface-actionconfig-)* (overwrites files if they exist)
274275
**data** | *Object* | `{}` | *inherited from [ActionConfig](#-interface-actionconfig-)*
275276
**abortOnFail** | *Boolean* | `true` | *inherited from [ActionConfig](#-interface-actionconfig-)*
276-
**globOptions** | *[Object](https://github.com/sindresorhus/globby#options)* | | glob options that change how to match to the template files to be added
277277

278278
## Modify
279279
The `modify` action will use a `pattern` property to find/replace text in the file located at the `path` specified. More details on modify can be found in the example folder.

0 commit comments

Comments
 (0)