Skip to content

Documentation / @agentick/tui / useSlashCommands

Function: useSlashCommands()

useSlashCommands(initial, ctx): UseSlashCommandsResult

Defined in: commands.ts:145

Parameters

initial

(SlashCommand | SlashCommand[])[]

ctx

Omit<CommandContext, "addCommand" | "removeCommand">

Returns

UseSlashCommandsResult

Released under the ISC License.