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: site/docs/advanced.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
---
2
+
title: "Advanced Topics"
3
+
---
4
+
1
5
# Advanced Topics
2
6
3
7
This guide covers advanced features of XenoAtom.CommandLine: the parse API for testing, shell completions, response files, configuration, and performance.
@@ -30,6 +34,7 @@ var result = app.Parse(["--name", "Alice", "--port", "8080"]);
30
34
31
35
### ParseResult Properties
32
36
37
+
{.table}
33
38
| Property | Type | Description |
34
39
|---|---|---|
35
40
|`ResolvedCommand`|`Command`| The command that was resolved |
Copy file name to clipboardExpand all lines: site/docs/arguments.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,7 @@
1
+
---
2
+
title: "Positional Arguments"
3
+
---
4
+
1
5
# Positional Arguments
2
6
3
7
In addition to options (prefixed with `-`, `--`, `/`), XenoAtom.CommandLine supports positional arguments — values passed without any option prefix that are consumed in declaration order.
@@ -31,6 +35,7 @@ Input: file.txt
31
35
32
36
The suffix on the argument prototype controls how many values are expected:
33
37
38
+
{.table}
34
39
| Prototype | Cardinality | Meaning |
35
40
|---|---:|---|
36
41
|`<input>`| Exactly 1 | Required — an error is raised if missing |
@@ -204,3 +209,4 @@ This is especially useful when argument values start with `-`.
204
209
-[Options](options.md) — full option reference
205
210
-[Commands](commands.md) — sub-commands and groups
0 commit comments