mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-26 21:14:35 -07:00
Allow for slash commands to opt-out of autocompletion and /help discovery. (#7847)
This commit is contained in:
@@ -85,9 +85,7 @@ export class CommandService {
|
||||
});
|
||||
}
|
||||
|
||||
const finalCommands = Object.freeze(
|
||||
Array.from(commandMap.values()).filter((cmd) => !cmd.hidden),
|
||||
);
|
||||
const finalCommands = Object.freeze(Array.from(commandMap.values()));
|
||||
return new CommandService(finalCommands);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user