MCPcopy Create free account
hub / github.com/arctic-cli/interface / shell

Method shell

packages/sdk/js/src/gen/sdk.gen.ts:667–676  ·  view source on GitHub ↗

* Run a shell command

(options: Options<SessionShellData, ThrowOnError>)

Source from the content-addressed store, hash-verified

665 * Run a shell command
666 */
667 public shell<ThrowOnError extends boolean = false>(options: Options<SessionShellData, ThrowOnError>) {
668 return (options.client ?? this._client).post<SessionShellResponses, SessionShellErrors, ThrowOnError>({
669 url: "/session/{id}/shell",
670 ...options,
671 headers: {
672 "Content-Type": "application/json",
673 ...options.headers,
674 },
675 })
676 }
677
678 /**
679 * Revert a message

Callers 3

submitFunction · 0.45
commandFunction · 0.45
server.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected