(path)
| 147 | * @returns {string | undefined} negative description |
| 148 | */ |
| 149 | const getNegatedDescription = (path) => { |
| 150 | for (const { schema } of path) { |
| 151 | if (schema.cli) { |
| 152 | if (schema.cli.helper) continue; |
| 153 | if (schema.cli.negatedDescription) return schema.cli.negatedDescription; |
| 154 | } |
| 155 | } |
| 156 | }; |
| 157 | |
| 158 | /** |
| 159 | * Gets reset description. |