(parts: string[], action: SessionAction)
| 176 | } |
| 177 | |
| 178 | function formatSpecialActionLine(parts: string[], action: SessionAction): string | undefined { |
| 179 | if (isClickLikeCommand(action.command)) { |
| 180 | return formatClickLikeActionLine(parts, action); |
| 181 | } |
| 182 | if (action.command === 'fill') { |
| 183 | return formatFillActionLine(parts, action); |
| 184 | } |
| 185 | if (action.command === 'get') { |
| 186 | return formatGetActionLine(parts, action); |
| 187 | } |
| 188 | return undefined; |
| 189 | } |
| 190 | |
| 191 | function formatClickLikeActionLine(parts: string[], action: SessionAction): string | undefined { |
| 192 | const first = action.positionals?.[0]; |
no test coverage detected