(flagName: string, value: string)
| 909 | } |
| 910 | |
| 911 | function requireNonEmpty(flagName: string, value: string): void { |
| 912 | if (typeof value !== 'string' || value.trim().length === 0) { |
| 913 | throw localValidationError(flagName, 'is required'); |
| 914 | } |
| 915 | } |
| 916 | |
| 917 | /** |
| 918 | * `test create` text-mode rendering. JSON-mode callers (the agent |
no test coverage detected