mirror of
https://github.com/google-gemini/gemini-cli
synced 2026-05-24 09:38:34 +00:00
Add refresh/reload aliases to slash command subcommands (#19218)
Co-authored-by: Jack Wotherspoon <jackwoth@google.com>
This commit is contained in:
parent
7d165e77f0
commit
80f0cbd798
5 changed files with 5 additions and 0 deletions
|
|
@ -324,6 +324,7 @@ const configCommand: SlashCommand = {
|
|||
|
||||
const agentsRefreshCommand: SlashCommand = {
|
||||
name: 'refresh',
|
||||
altNames: ['reload'],
|
||||
description: 'Reload the agent registry',
|
||||
kind: CommandKind.BUILT_IN,
|
||||
action: async (context: CommandContext) => {
|
||||
|
|
|
|||
|
|
@ -69,6 +69,7 @@ export const commandsCommand: SlashCommand = {
|
|||
subCommands: [
|
||||
{
|
||||
name: 'reload',
|
||||
altNames: ['refresh'],
|
||||
description:
|
||||
'Reload custom command definitions from .toml files. Usage: /commands reload',
|
||||
kind: CommandKind.BUILT_IN,
|
||||
|
|
|
|||
|
|
@ -313,6 +313,7 @@ const schemaCommand: SlashCommand = {
|
|||
|
||||
const refreshCommand: SlashCommand = {
|
||||
name: 'refresh',
|
||||
altNames: ['reload'],
|
||||
description: 'Restarts MCP servers',
|
||||
kind: CommandKind.BUILT_IN,
|
||||
autoExecute: true,
|
||||
|
|
|
|||
|
|
@ -64,6 +64,7 @@ export const memoryCommand: SlashCommand = {
|
|||
},
|
||||
{
|
||||
name: 'refresh',
|
||||
altNames: ['reload'],
|
||||
description: 'Refresh the memory from the source',
|
||||
kind: CommandKind.BUILT_IN,
|
||||
autoExecute: true,
|
||||
|
|
|
|||
|
|
@ -396,6 +396,7 @@ export const skillsCommand: SlashCommand = {
|
|||
},
|
||||
{
|
||||
name: 'reload',
|
||||
altNames: ['refresh'],
|
||||
description:
|
||||
'Reload the list of discovered skills. Usage: /skills reload',
|
||||
kind: CommandKind.BUILT_IN,
|
||||
|
|
|
|||
Loading…
Reference in a new issue