Skip to content

Commit 4c823f3

Browse files
update readme
1 parent 3111a69 commit 4c823f3

File tree

4 files changed

+21
-3
lines changed

4 files changed

+21
-3
lines changed

CommandQuery.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution
1111
ProjectSection(SolutionItems) = preProject
1212
.gitignore = .gitignore
1313
LICENSE = LICENSE
14+
need.md = need.md
1415
README.md = README.md
1516
EndProjectSection
1617
EndProject

CommandQuery/CommandQuery.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
<Deterministic>true</Deterministic>
2424
<ContinuousIntegrationBuild Condition="'$(GITHUB_ACTIONS)' == 'true'">true</ContinuousIntegrationBuild>
2525
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
26+
<IsPackable>true</IsPackable>
2627
<Title>CommandQuery</Title>
2728
<PackageId>CommandQuery</PackageId>
2829
<PackageProjectUrl>https://github.com/codewithmecoder/CommandQuery</PackageProjectUrl>

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Examples in this [Project](https://github.com/codewithmecoder/CommandQuery/tree/
77

88
### Installing CommandQuery
99

10-
You should install [CommandQuery with NuGet](https://github.com/codewithmecoder/CommandQuery)
10+
You should install [CommandQuery with NuGet](https://github.com/codewithmecoder/CommandQuery/pkgs/nuget/CommandQuery)
1111

1212
```SHELL
1313
Install-Package CommandQuery
@@ -40,8 +40,8 @@ To register behaviors, pre/post processors:
4040
```csharp
4141
services.AddCommandQuery(cfg => {
4242
cq.RegisterAssembly(typeof(Program).Assembly);
43-
//cq.NotificationPublisher = new MultipleNotificationPublisher();
44-
//cq.NotificationPublisherType = typeof(MultipleNotificationPublisher);
43+
cq.NotificationPublisher = new MultipleNotificationPublisher();
44+
cq.NotificationPublisherType = typeof(MultipleNotificationPublisher);
4545

4646
cq.AddBehavior(typeof(LoggingPipelineBehavior<,>));
4747
cq.AddRequestPreProcessor(typeof(GenericRequestPreProcessor<>));

need.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
```shell
2+
dotnet nuget add source "https://nuget.pkg.github.com/{name}/index.json" \
3+
--name "github" \
4+
--username \
5+
--password
6+
```
7+
8+
```shell
9+
dotnet pack --configuration Release
10+
```
11+
12+
```shell
13+
dotnet nuget push "bin/Release/CommandQuery.1.0.0.nupkg" \
14+
--source "github" \
15+
--api-key YOUR_GITHUB_PAT
16+
```

0 commit comments

Comments
 (0)