Type alias BindCLIShortcutsOptions<Server>

BindCLIShortcutsOptions<Server>: {
    customShortcuts?: CLIShortcut<Server>[];
    print?: boolean;
}

Type Parameters

Type declaration

  • Optional customShortcuts?: CLIShortcut<Server>[]

    Custom shortcuts to run when a key is pressed. These shortcuts take priority over the default shortcuts if they have the same keys (except the h key). To disable a default shortcut, define the same key but with action: undefined.

  • Optional print?: boolean

    Print a one-line shortcuts "help" hint to the terminal