Better cli insight with download-keycloak-default-theme

This commit is contained in:
Joseph Garrone 2024-05-20 02:26:14 +02:00
parent 97c3f4fa5f
commit 08e659cf01

View File

@ -24,7 +24,11 @@ export async function command(params: { cliCommandOptions: CliCommandOptions })
const destDirPath = pathJoin(buildOptions.keycloakifyBuildDirPath, "src", "main", "resources", "theme"); const destDirPath = pathJoin(buildOptions.keycloakifyBuildDirPath, "src", "main", "resources", "theme");
console.log( console.log(
`Downloading builtins theme of Keycloak ${keycloakVersion} here ${chalk.bold(`.${pathSep}${pathRelative(process.cwd(), destDirPath)}`)}` [
`Downloading builtins theme of Keycloak ${keycloakVersion} here:`,
`- ${chalk.bold(`.${pathSep}${pathJoin(pathRelative(process.cwd(), destDirPath), "base")}`)}`,
`- ${chalk.bold(`.${pathSep}${pathJoin(pathRelative(process.cwd(), destDirPath), "keycloak")}`)}`
].join("\n")
); );
await downloadKeycloakDefaultTheme({ await downloadKeycloakDefaultTheme({