mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-28 05:55:17 -07:00
Add hidden property to slash commands (#7797)
This commit is contained in:
@@ -443,6 +443,7 @@ export function useSlashCompletion(props: UseSlashCompletionProps): {
|
||||
commands.filter(
|
||||
(cmd) =>
|
||||
cmd.description &&
|
||||
!cmd.hidden &&
|
||||
(cmd.name.toLowerCase().startsWith(partial.toLowerCase()) ||
|
||||
cmd.altNames?.some((alt) =>
|
||||
alt.toLowerCase().startsWith(partial.toLowerCase()),
|
||||
|
||||
Reference in New Issue
Block a user