( allow?: string[], ask?: string[], exclude?: string[], mode?: PermissionMode, )
| 44 | * This logic was previously duplicated between TUI and headless paths |
| 45 | */ |
| 46 | export function buildPermissionOverrides( |
| 47 | allow?: string[], |
| 48 | ask?: string[], |
| 49 | exclude?: string[], |
| 50 | mode?: PermissionMode, |
| 51 | ): PermissionOverrides { |
| 52 | return { |
| 53 | allow, |
| 54 | ask, |
| 55 | exclude, |
| 56 | mode, |
| 57 | }; |
| 58 | } |
| 59 | |
| 60 | /** |
| 61 | * Processes all command line flags into a consistent structure |
no outgoing calls
no test coverage detected