(args: string)
| 105 | }; |
| 106 | } |
| 107 | export function executeEffort(args: string): EffortCommandResult { |
| 108 | const normalized = args.toLowerCase(); |
| 109 | if (normalized === 'auto' || normalized === 'unset') { |
| 110 | return unsetEffortLevel(); |
| 111 | } |
| 112 | if (!isEffortLevel(normalized)) { |
| 113 | return { |
| 114 | message: `Invalid argument: ${args}. Valid options are: low, medium, high, max, auto` |
| 115 | }; |
| 116 | } |
| 117 | return setEffortValue(normalized); |
| 118 | } |
| 119 | function ShowCurrentEffort(t0) { |
| 120 | const { |
| 121 | onDone |
no test coverage detected