DuckDB Terminal - v0.8.4
    Preparing search index...

    Type Alias CommandHandler

    CommandHandler: (
        args: string[],
        terminal: TerminalInterface,
    ) => Promise<void> | void

    Handler function type for dot commands.

    Type Declaration

      • (args: string[], terminal: TerminalInterface): Promise<void> | void
      • Parameters

        • args: string[]

          Command arguments (words after the command name)

        • terminal: TerminalInterface

          The terminal interface for output and operations

        Returns Promise<void> | void

        void or a Promise that resolves when the command completes