Skip to content

Commit a32dc80

Browse files
armanossilokopatriksvensson
authored andcommitted
Fixed docs examples URLs redirecting to the examples repository
1 parent 75547b2 commit a32dc80

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/input/cli/command-help.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,5 +71,5 @@ public static class Program
7171
}
7272
```
7373

74-
There is a working [example of a custom help provider](https://github.com/spectreconsole/spectre.console/tree/main/examples/Cli/Help) demonstrating this.
74+
There is a working [example of a custom help provider](https://github.com/spectreconsole/examples/tree/main/examples/Cli/Help) demonstrating this.
7575

docs/input/cli/commandApp.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ var app = new CommandApp<DefaultCommand>(registrar);
7575
return app.Run(args);
7676
```
7777

78-
`TypeRegistrar` is a custom class that must be created by the user. This [example using `Microsoft.Extensions.DependencyInjection` as the container](https://github.com/spectreconsole/spectre.console/tree/main/examples/Cli/Injection) provides an example `TypeRegistrar` and `TypeResolver` that can be added to your application with small adjustments for your DI container.
78+
`TypeRegistrar` is a custom class that must be created by the user. This [example using `Microsoft.Extensions.DependencyInjection` as the container](https://github.com/spectreconsole/examples/tree/main/examples/Cli/Injection) provides an example `TypeRegistrar` and `TypeResolver` that can be added to your application with small adjustments for your DI container.
7979

8080
Hint: If you do write your own implementation of `TypeRegistrar` and `TypeResolver` and you have some form of unit tests in place for your project,
8181
there is a utility `TypeRegistrarBaseTests` available that can be used to ensure your implementations adhere to the required implementation. Simply call `TypeRegistrarBaseTests.RunAllTests()` and expect no `TypeRegistrarBaseTests.TestFailedException` to be thrown.
@@ -89,4 +89,4 @@ This provides an opportunity to modify the result and also to tear down any infr
8989

9090
The `Intercept`-Method of each interceptor is run before the command is executed and the `InterceptResult`-Method is run after it. These are typically used for configuring logging or other infrastructure concerns.
9191

92-
For an example of using the interceptor to configure logging, see the [Serilog demo](https://github.com/spectreconsole/spectre.console/tree/main/examples/Cli/Logging).
92+
For an example of using the interceptor to configure logging, see the [Serilog demo](https://github.com/spectreconsole/examples/tree/main/examples/Cli/Logging).

0 commit comments

Comments
 (0)