Make it clear that the copy-keycloak-resources-to-public command is for CRA
This commit is contained in:
@ -111,22 +111,6 @@ program
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
program
|
|
||||||
.command({
|
|
||||||
"name": "copy-keycloak-resources-to-public",
|
|
||||||
"description": [
|
|
||||||
"Copy Keycloak default theme resources to the public directory.",
|
|
||||||
"This command is meant to be explicitly used in Webpack projects only."
|
|
||||||
].join(" ")
|
|
||||||
})
|
|
||||||
.task({
|
|
||||||
skip,
|
|
||||||
"handler": async cliCommandOptions => {
|
|
||||||
const { command } = await import("./copy-keycloak-resources-to-public");
|
|
||||||
await runAndLogErrors(() => command({ cliCommandOptions }));
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
program
|
program
|
||||||
.command({
|
.command({
|
||||||
"name": "start-keycloak-container",
|
"name": "start-keycloak-container",
|
||||||
@ -140,6 +124,19 @@ program
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
program
|
||||||
|
.command({
|
||||||
|
"name": "copy-keycloak-resources-to-public",
|
||||||
|
"description": "(Webpack/Create-React-App only) Copy Keycloak default theme resources to the public directory."
|
||||||
|
})
|
||||||
|
.task({
|
||||||
|
skip,
|
||||||
|
"handler": async cliCommandOptions => {
|
||||||
|
const { command } = await import("./copy-keycloak-resources-to-public");
|
||||||
|
await runAndLogErrors(() => command({ cliCommandOptions }));
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
// Fallback to build command if no command is provided
|
// Fallback to build command if no command is provided
|
||||||
{
|
{
|
||||||
const [, , ...rest] = process.argv;
|
const [, , ...rest] = process.argv;
|
||||||
|
Reference in New Issue
Block a user