Interface: CopyStepInput
Input for the CopyStepMachine.
Properties
lineReplace()?
optionallineReplace: (line) =>string
Optional argument to do custom string transformations of template files and paths.
Parameters
| Parameter | Type |
|---|---|
line | string |
Returns
string
name?
optionalname:string
kebab-case name of the thing being created from the template. Will be used to query replace instances of "template-file" and other variants like templateFile and template_file, though this behavior is deprecated and it's recommended to use the lineReplace function instead.
targetDir
targetDir:
string
Absolute path to the directory where the updated copies of the template files will go.