mirror of
https://github.com/eugeny/tabby
synced 2026-05-04 08:21:13 +00:00
b31a48677d
Package-Build / Lint (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
Docs / build (push) Has been cancelled
Package-Build / macOS-Build (arm64, aarch64-apple-darwin) (push) Has been cancelled
Package-Build / macOS-Build (x86_64, x86_64-apple-darwin) (push) Has been cancelled
Package-Build / Linux-Build (amd64, x64, ubuntu-24.04, x86_64-unknown-linux-gnu) (push) Has been cancelled
Package-Build / Linux-Build (arm64, arm64, ubuntu-24.04-arm, aarch64-unknown-linux-gnu, aarch64-linux-gnu-) (push) Has been cancelled
Package-Build / Linux-Build (armhf, arm, ubuntu-24.04, arm-unknown-linux-gnueabihf, arm-linux-gnueabihf-) (push) Has been cancelled
Package-Build / Windows-Build (arm64, aarch64-pc-windows-msvc) (push) Has been cancelled
Package-Build / Windows-Build (x64, x86_64-pc-windows-msvc) (push) Has been cancelled
Co-authored-by: Eugene <inbox@null.page>
26 lines
570 B
TypeScript
26 lines
570 B
TypeScript
export interface CLIEvent {
|
|
argv: {
|
|
_: string[],
|
|
// Commands are hardcoded for now
|
|
directory?: string,
|
|
command?: string[],
|
|
profileName?: string,
|
|
text?: string,
|
|
escape?: boolean,
|
|
providerId?: string,
|
|
query?: string,
|
|
debug?: boolean,
|
|
hidden?: boolean,
|
|
profileNumber?: number,
|
|
}
|
|
cwd: string
|
|
secondInstance: boolean
|
|
}
|
|
|
|
export abstract class CLIHandler {
|
|
priority: number
|
|
firstMatchOnly: boolean
|
|
|
|
abstract handle (event: CLIEvent): Promise<boolean>
|
|
}
|