Skip to content

Commit d25b19f

Browse files
committed
update readme for list-api
1 parent 6516c34 commit d25b19f

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

README.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,20 @@ dotnet tool install -g Smdn.Reflection.ReverseGenerating.ListApi
5555

5656
# update
5757
dotnet tool update -g Smdn.Reflection.ReverseGenerating.ListApi
58+
59+
# install and update (specifies the target framework explicitly)
60+
dotnet tool install --framework net6.0 -g Smdn.Reflection.ReverseGenerating.ListApi
61+
dotnet tool update --framework net8.0 -g Smdn.Reflection.ReverseGenerating.ListApi
5862
```
5963

6064
## Usage
6165
```sh
62-
# The file 'Program-net6.0.apilist.cs' will be generated.
63-
list-api Program/bin/Release/net6.0/Program.dll
66+
# Generates the API list.
67+
# The file 'Library-net8.0.apilist.cs' will be generated.
68+
list-api Library/bin/Release/net8.0/Library.dll
69+
70+
# Generates the API list with loading the assembly in the reflection-only context.
71+
list-api --load-reflection-only Library/bin/Release/net8.0/Library.dll
6472
```
6573

6674
Type `list-api --help` to show usage about command line arguments and options.

0 commit comments

Comments
 (0)