DashboardcraftPrefer built-in platform parsers over m…

Prefer built-in platform parsers over manual argument scanning

Category: preference
Confidence: 0.80
ID: 01a03463-8d1a-7621-b229-55d2b4cf0b4e
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 0
Source session: 117pES7LG4CRSwQik
Created: 2026-08-24 15:28:54
Updated: 2026-08-24 15:28:54

Content

When reviewing or fixing command-line argument handling, use Node’s built-in argument parser rather than maintaining manual argv token scans. Preserve the established selection semantics with explicit regression coverage: valid CLI values override environment values, while missing, empty, or option-like values after a flag do not get consumed and fall back to the environment or undefined. Before committing, run focused tests for parser edge cases and related configuration/version behavior.

Move to: