MCPcopy Index your code
hub / github.com/continuedev/continue / getBashMaxLines

Function getBashMaxLines

extensions/cli/src/tools/runTerminalCommand.ts:58–63  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

56}
57
58function getBashMaxLines(): number {
59 return parseEnvNumber(
60 process.env.CONTINUE_CLI_BASH_MAX_OUTPUT_LINES,
61 DEFAULT_BASH_MAX_LINES,
62 );
63}
64
65// Helper function to use login shell on Unix/macOS and PowerShell on Windows and available shell in WSL
66function getShellCommand(command: string): { shell: string; args: string[] } {

Callers 1

Calls 1

parseEnvNumberFunction · 0.85

Tested by

no test coverage detected