@baeta/plugin-exec
Interfaces
ExecPluginOptions
Configuration options for the exec plugin.
Properties
Property | Type | Description |
---|---|---|
|
Command to execute - can be either:
| |
|
Action name displayed in the generation status. Shows as "Generating {actionName}..." | |
|
Plugin name displayed in logs | |
( |
Optional function to determine if execution should be skipped | |
File watching configuration |
Functions
createExecPlugin()
createExecPlugin(
options
):GeneratorPluginV1
<unknown
>
A plugin that executes commands or functions during generation.
Parameters
Parameter | Type | Description |
---|---|---|
|
Plugin configuration options |
Returns
GeneratorPluginV1
<unknown
>
A Baeta generator plugin
References
default
Renames and re-exports createExecPlugin