Skip to content

Commit d39d7fb

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 98aa9ae + 0523682 commit d39d7fb

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

ReadMe.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ Install-Package ConsoleAppFramework
2424
- [Automatically Class/Method command routing](#automatically-classmethod-command-routing)
2525
- [Complex Argument](#complex-argument)
2626
- [Exit Code](#exit-code)
27+
- [CommandAttribute](#commandattribute)
28+
- [OptionAttribute](#optionattribute)
2729
- [Daemon](#daemon)
2830
- [Filter](#filter)
2931
- [Logging](#logging)
@@ -84,7 +86,7 @@ Method parameter will be required parameter, optional parameter will be oprional
8486
`help` command (or no argument to pass) shows there detail. This help format is same as `dotnet` command.
8587

8688
```
87-
> SampleApp.exe -help
89+
> SampleApp.exe help
8890
Usage: SampleApp [options...]
8991

9092
Options:
@@ -229,6 +231,8 @@ Options:
229231
-msg <String> (Required)
230232
```
231233

234+
> Commands are searched from loaded assemblies, when does not touch other assemblies type, it will be trimmed and can not load it. In that case, use `RunConsoleAppFrameworkAsync(searchAssemblies: )` option to pass target assembly, for example `searchAssemblies: new [] { typeof(Foo).Assembly }`.
235+
232236
Complex Argument
233237
---
234238
If the argument is not primitive, you can pass JSON string.

0 commit comments

Comments
 (0)