Make it clear that the copy-keycloak-resources-to-public command is for CRA
This commit is contained in:
parent
c780e9b9f5
commit
9fa1460400
@ -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
|
||||
.command({
|
||||
"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
|
||||
{
|
||||
const [, , ...rest] = process.argv;
|
||||
|
Loading…
x
Reference in New Issue
Block a user