Skip to content

Documentation / @agentick/tui / CommandContext

Interface: CommandContext ​

Defined in: commands.ts:14

Properties ​

abort() ​

abort: () => void

Defined in: commands.ts:18

Returns ​

void


addCommand() ​

addCommand: (cmd) => void

Defined in: commands.ts:20

Parameters ​

cmd ​

SlashCommand

Returns ​

void


output() ​

output: (text) => void

Defined in: commands.ts:19

Parameters ​

text ​

string

Returns ​

void


removeCommand() ​

removeCommand: (name) => void

Defined in: commands.ts:21

Parameters ​

name ​

string

Returns ​

void


send() ​

send: (...args) => any

Defined in: commands.ts:17

Parameters ​

args ​

...any[]

Returns ​

any


sessionId ​

sessionId: string

Defined in: commands.ts:15

Released under the ISC License.