( flags: Record<string, string | boolean>, keys: string[], )
| 2060 | } |
| 2061 | |
| 2062 | function readStringFlagByKeys( |
| 2063 | flags: Record<string, string | boolean>, |
| 2064 | keys: string[], |
| 2065 | ): string | undefined { |
| 2066 | for (const key of keys) { |
| 2067 | const value = getStringFlag(flags, key); |
| 2068 | if (value?.trim()) { |
| 2069 | return value.trim(); |
| 2070 | } |
| 2071 | } |
| 2072 | return undefined; |
| 2073 | } |
| 2074 | |
| 2075 | export function createFeishuChannelBindingForCli( |
| 2076 | input: { |
no test coverage detected