Kui API Documentation - v11.0.0 / @kui-shell/plugin-bash-like
▸ doExecPipe(argvs, repl, execOptions?): Promise<unknown>
| Name | Type |
|---|---|
argvs |
string[][] |
repl |
default |
execOptions? |
Pick<ExecOptions, "cwd" | "env" | "stderr" | "stdout"> |
Promise<unknown>
plugins/plugin-bash-like/src/lib/cmds/pipe.ts:23
▸ Const doExecWithPty(__namedParameters): Promise<any>
Command handler that dispatches to an outer shell
| Name | Type |
|---|---|
__namedParameters |
EvaluatorArgs<ParsedOptions> |
Promise<any>
plugins/plugin-bash-like/src/lib/cmds/catchall.ts:28
▸ doExecWithStdoutViaPty<O>(args): Promise<string>
Execute the given command using a pty, but return a string
| Name | Type |
|---|---|
O |
extends ParsedOptions = ParsedOptions |
| Name | Type |
|---|---|
args |
EvaluatorArgs<O> |
Promise<string>
plugins/plugin-bash-like/src/lib/cmds/catchall.ts:108
▸ getSessionForTab(tab): Promise<Channel>
Return the session for the given tab
| Name | Type |
|---|---|
tab |
Tab |
Promise<Channel>
plugins/plugin-bash-like/src/pty/sessionCache.ts:38
▸ getTabState(tab, key): any
| Name | Type |
|---|---|
tab |
default |
key |
string |
any
plugins/plugin-bash-like/src/tab-state/get.ts:21
▸ Const main(N, server?, preexistingPort?, expectedCookie?): Promise<number | { port: number ; wss: Server }>
| Name | Type |
|---|---|
N |
string |
server? |
Server |
preexistingPort? |
number |
expectedCookie? |
SessionCookie |
Promise<number | { port: number ; wss: Server }>