We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 446aabc commit aacdecbCopy full SHA for aacdecb
1 file changed
README.md
@@ -12,8 +12,8 @@ Features:
12
And here's some code!
13
14
```cs
15
-using Codeaddicts.libArguments;
16
-using Codeaddicts.libArguments.Attributes;
+using Codeaddicts.libArgument;
+using Codeaddicts.libArgument.Attributes;
17
18
// A simple class with some command-line options
19
public class MyOptions
@@ -52,3 +52,13 @@ public class Program
52
}
53
54
```
55
+
56
+Now call the application like that:
57
+$ MyApp.exe -i test -o test --log --num 123 or
58
+$ MyApp.exe --input test --output test --log --num 123
59
60
+## How about optional arguments?
61
+Absolutely no problem!
62
63
+Just add a parameterless constructor to your Options class and initialize
64
+your optional variables there. It's a piece of cake!
0 commit comments