createFetchCookiecutterAction()
Home > @backstage/plugin-scaffolder-backend-module-cookiecutter
> createFetchCookiecutterAction
Creates a fetch:cookiecutter
Scaffolder action.
Signature:
function createFetchCookiecutterAction(options: {
reader: UrlReaderService;
integrations: ScmIntegrations;
containerRunner?: ContainerRunner;
}): import("@backstage/plugin-scaffolder-node").TemplateAction<{
url: string;
targetPath?: string;
values: JsonObject;
copyWithoutRender?: string[];
extensions?: string[];
imageName?: string;
}, JsonObject, "v1">;
Parameters
Parameter |
Type |
Description |
---|---|---|
options |
{ reader: UrlReaderService; integrations: ScmIntegrations; containerRunner?: ContainerRunner; } |
Templating configuration. |
import("@backstage/plugin-scaffolder-node").TemplateAction<{ url: string; targetPath?: string; values: JsonObject; copyWithoutRender?: string[]; extensions?: string[]; imageName?: string; }, JsonObject, "v1">
Remarks
See https://cookiecutter.readthedocs.io/ and https://backstage.io/docs/features/software-templates/writing-custom-actions.