MCPcopy
hub / github.com/google-gemini/gemini-cli / getInvalidCommand

Function getInvalidCommand

integration-tests/run_shell_command.test.ts:30–40  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28}
29
30function getInvalidCommand(): string {
31 switch (shell) {
32 case 'powershell':
33 return `Get-ChildItem | | Select-Object`;
34 case 'cmd':
35 return `dir | | findstr foo`;
36 case 'bash':
37 default:
38 return `echo "hello" > > file`;
39 }
40}
41
42function getAllowedListCommand(): string {
43 switch (shell) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected