Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions packages/cli/lib/commands/ai-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,13 +136,13 @@ function getTemplateManager(): BaseTemplateManager {
return App.container.get<BaseTemplateManager>(TEMPLATE_MANAGER);
}

/** Separate from the PromptSession prompt due to step by step config */
/** Separate from the PromptSession prompt due to step by step config w/ jQuery and w/o Blazor */
Comment thread
damyanpetev marked this conversation as resolved.
async function promptForFrameworkId(): Promise<string> {
const tm = getTemplateManager();
const frameRes: string = await InquirerWrapper.select({
name: "framework",
message: "Choose framework:",
choices: tm.getFrameworkNames(true),
choices: tm.getFrameworkNames(true).filter(x => x !== "jQuery"),
default: "Angular"
});
return tm.getFrameworkByName(frameRes).id;
Expand All @@ -166,7 +166,7 @@ const command: CommandModule = {
.option("framework", {
alias: "f",
describe: "Manually set project framework to configure AI for.",
choices: getTemplateManager()?.getFrameworkIds(true),
choices: getTemplateManager()?.getFrameworkIds(true).filter(x => x !== "jquery"),
Comment thread
damyanpetev marked this conversation as resolved.
type: "string"
}),
async handler(argv: ArgumentsCamelCase) {
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/help-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ describe("Help command", () => {
--assistants Coding assistant(s) to configure MCP servers for [array]
[choices: "generic", "vscode", "cursor", "gemini", "junie", "none"]
-f, --framework Manually set project framework to configure AI for. [string]
[choices: "angular", "blazor", "jquery", "react", "webcomponents"]`;
[choices: "angular", "blazor", "react", "webcomponents"]`;

const replacedHelpText: string = originalHelpText.replace(/\s/g, "");
const actualNewText: string = (child.stdout.toString()).replace(/\s/g, "");
Expand Down
Loading