Style slash command descriptions consistently (#11395)

This commit is contained in:
Tommaso Sciortino
2025-10-17 13:20:15 -07:00
committed by GitHub
parent 426d36146a
commit b4a405c684
28 changed files with 39 additions and 39 deletions

View File

@@ -12,12 +12,12 @@ import { CommandKind } from './types.js';
export const memoryCommand: SlashCommand = {
name: 'memory',
description: 'Commands for interacting with memory.',
description: 'Commands for interacting with memory',
kind: CommandKind.BUILT_IN,
subCommands: [
{
name: 'show',
description: 'Show the current memory contents.',
description: 'Show the current memory contents',
kind: CommandKind.BUILT_IN,
action: async (context) => {
const memoryContent = context.services.config?.getUserMemory() || '';
@@ -39,7 +39,7 @@ export const memoryCommand: SlashCommand = {
},
{
name: 'add',
description: 'Add content to the memory.',
description: 'Add content to the memory',
kind: CommandKind.BUILT_IN,
action: (context, args): SlashCommandActionReturn | void => {
if (!args || args.trim() === '') {
@@ -67,7 +67,7 @@ export const memoryCommand: SlashCommand = {
},
{
name: 'refresh',
description: 'Refresh the memory from the source.',
description: 'Refresh the memory from the source',
kind: CommandKind.BUILT_IN,
action: async (context) => {
context.ui.addItem(
@@ -128,7 +128,7 @@ export const memoryCommand: SlashCommand = {
},
{
name: 'list',
description: 'Lists the paths of the GEMINI.md files in use.',
description: 'Lists the paths of the GEMINI.md files in use',
kind: CommandKind.BUILT_IN,
action: async (context) => {
const filePaths = context.services.config?.getGeminiMdFilePaths() || [];