Commit Graph
4 Commits
Author SHA1 Message Date
dualfroz 5e1eff9f24 feat: add command usage examples
Add an Examples string array property to CommandAttribute so command authors can document example invocations. Each example contains only the arguments that follow the command name; the executable and command name are prepended automatically when the example is rendered.

Examples are rendered as extra lines in the USAGE section of the help text. The source generator resolves the values from the attribute and emits them into the command descriptor consumed at runtime.
2026-08-28 10:12:58 +02:00
upstream 50964082ba Upstream Tyrrrz/CliFx state of the touched files before 72b7d869fc 2026-08-28 10:12:58 +02:00
dualfroz 8f11b8ff38 feat: add command usage examples
Add an Examples string array property to CommandAttribute so command authors can document example invocations. Each example contains only the arguments that follow the command name; the executable and command name are prepended automatically when the example is rendered.

Examples are rendered as extra lines in the USAGE section of the help text. The source generator resolves the values from the attribute and emits them into the command descriptor consumed at runtime.
2026-09-06 01:19:59 +02:00
upstream e3e64a40e4 Upstream Tyrrrz/CliFx state of the touched files before 9ef5dcb635 2026-08-28 10:12:58 +02:00