4 Commits
Author SHA1 Message Date
dualfroz 890a462c9a Describe this repository 2026-10-22 21:02:32 +02:00
dualfroz 535f085d6b Keep the pre-Examples descriptor constructors as forwarding overloads 2026-09-23 06:17:56 +02:00
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
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