DashboardcliStricli flag requiredness

Stricli flag requiredness

Category: preference
Confidence: 1.00
ID: 01a08aa5-a48a-7eb9-9a10-5eaf86bf206f
Project ID: c760f4f9-42b0-4ce0-b36d-6b8c38d770b2
Cross-project: No
Recalled in other projects: 0
Source session: 0iRbOD1VHj1PKYbvU
Created: 2026-09-10 09:28:26
Updated: 2026-09-10 09:28:26

Content

Flags whose values callers must always provide must be required. Variadic flags are always optional because omission parses to an empty array; treating them as required looks stricter but contradicts their established empty-array runtime contract. Do not transfer this rule to positional arrays or tuples, whose requiredness is declared independently.

Move to: