(path)
| 132 | * @returns {string | undefined} description |
| 133 | */ |
| 134 | const getDescription = (path) => { |
| 135 | for (const { schema } of path) { |
| 136 | if (schema.cli) { |
| 137 | if (schema.cli.helper) continue; |
| 138 | if (schema.cli.description) return schema.cli.description; |
| 139 | } |
| 140 | if (schema.description) return schema.description; |
| 141 | } |
| 142 | }; |
| 143 | |
| 144 | /** |
| 145 | * Gets negated description. |
no outgoing calls
no test coverage detected