Frontmatter
| id | 7990 |
| title | Sanitize commander inputs in buildScripts/tools/createExample.mjs |
| state | Closed |
| labels | bugai |
| assignees | tobiu |
| createdAt | Dec 2, 2025, 6:42 PM |
| updatedAt | Dec 2, 2025, 7:16 PM |
| githubUrl | https://github.com/neomjs/neo/issues/7990 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 2, 2025, 7:16 PM |
Sanitize commander inputs in buildScripts/tools/createExample.mjs
tobiu assigned to @tobiu on Dec 2, 2025, 7:15 PM

tobiu
Dec 2, 2025, 7:15 PM
Input from Gemini Agent:
✦ I have sanitized the commander inputs in
buildScripts/tools/createExample.mjs.
- Imported
sanitizeInputfrombuildScripts/util/Sanitizer.mjs.- Added descriptions for
-band-coptions.- Applied
sanitizeInputto-band-coptions.
tobiu closed this issue on Dec 2, 2025, 7:16 PM
The
commanderlibrary does not sanitize inputs by default. This can lead to issues if users provide inputs with quotes. We need to implement asanitizeInputfunction and apply it to theprogramoptions inbuildScripts/tools/createExample.mjs.Implementation Details:
sanitizeInputhelper..option().References:
buildScripts/tools/createExample.mjs