You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: module/move/unilang/spec.md
+20Lines changed: 20 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -511,6 +511,26 @@ The unilang framework **must** provide control over debug output and verbosity l
511
511
- Runtime configuration
512
512
***Thread Safety**: Verbosity control **must** be thread-safe and respect per-instance settings in multi-threaded environments.
513
513
514
+
#### 9.5. Help System Formatting
515
+
516
+
The help system **must** provide clear, readable output that is optimized for human consumption and easy scanning.
517
+
518
+
***Multi-line Format**: Command help output **must** use a multi-line format that separates different types of information visually:
519
+
- Command header line with name and version
520
+
- Description section with proper spacing
521
+
- Arguments section with clear visual hierarchy
522
+
***Argument Display**: Each argument **must** be displayed with:
523
+
- Argument name on its own line or prominently displayed
524
+
- Type and requirement status clearly indicated
525
+
- Description text separated from technical details
526
+
- Optional and multiple indicators separated from core information
527
+
***Readability Principles**: Help text **must** follow these formatting principles:
528
+
- No single line should contain more than 80 characters when possible
529
+
- Technical information (Kind, validation rules) should be visually distinct from user-facing descriptions
530
+
- Redundant words like "Hint:" should be eliminated when the context is clear
531
+
- Visual hierarchy should guide the eye from most important to least important information
532
+
***Consistent Spacing**: The help system **must** use consistent indentation and spacing to create visual groupings and improve readability.
533
+
514
534
---
515
535
## Part II: Internal Design (Design Recommendations)
516
536
*This part of the specification describes the recommended internal architecture and implementation strategies. These are best-practice starting points, and the development team has the flexibility to modify them as needed.*
0 commit comments