(path)
| 161 | * @returns {string | undefined} reset description |
| 162 | */ |
| 163 | const getResetDescription = (path) => { |
| 164 | for (const { schema } of path) { |
| 165 | if (schema.cli) { |
| 166 | if (schema.cli.helper) continue; |
| 167 | if (schema.cli.resetDescription) return schema.cli.resetDescription; |
| 168 | } |
| 169 | } |
| 170 | }; |
| 171 | |
| 172 | /** |
| 173 | * Schema to argument config. |