aws-cdk
Version:
AWS CDK Toolkit CLI, the command line tool for CDK apps
13 lines (12 loc) • 526 B
TypeScript
/**
* Runs the CDK Language Server command.
*
* With `--features`, prints the LSP capability manifest as JSON and exits.
* Otherwise starts the server, which speaks LSP/JSON-RPC on stdin/stdout -- in
* that mode the command must not write anything else to stdout (CDK CLI logs go
* to stderr, keeping the protocol channel clean). The server runs until the LSP
* client closes the stdio channel (stdin end), then exits 0.
*/
export declare function lsp(options?: {
readonly features?: boolean;
}): Promise<number>;