mirror of
				https://github.com/nsnail/spectre.console.git
				synced 2025-11-04 10:35:27 +08:00 
			
		
		
		
	fixed 404 in documentation
links were pointing to ./commandApp, however the generated page is ./commandapp
This commit is contained in:
		
				
					committed by
					
						
						Patrik Svensson
					
				
			
			
				
	
			
			
			
						parent
						
							786b7670da
						
					
				
				
					commit
					c3510f3036
				
			@@ -25,7 +25,7 @@ public class HelloCommand : Command<HelloCommand.Settings>
 | 
			
		||||
 | 
			
		||||
## Configuring
 | 
			
		||||
 | 
			
		||||
Commands are configured via the [`CommandApp`](commandApp)'s `Configure` method.
 | 
			
		||||
Commands are configured via the [`CommandApp`](commandapp)'s `Configure` method.
 | 
			
		||||
 | 
			
		||||
```csharp
 | 
			
		||||
var app = new CommandApp();
 | 
			
		||||
@@ -45,7 +45,7 @@ app.Configure(config =>
 | 
			
		||||
 | 
			
		||||
## Dependency Injection
 | 
			
		||||
 | 
			
		||||
Constructor injection is supported on commands. See the [`CommandApp`](commandApp) documentation for further information on configuring `Spectre.Console` for your container.
 | 
			
		||||
Constructor injection is supported on commands. See the [`CommandApp`](commandapp) documentation for further information on configuring `Spectre.Console` for your container.
 | 
			
		||||
 | 
			
		||||
## Validation
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -78,6 +78,6 @@ app.exe c:\windows --hidden --pattern *.dll
 | 
			
		||||
 | 
			
		||||
Much more is possible. You can have multiple commands per application, settings can be customized and extended and the default behavior of the `CommandApp` can be extended and customized.
 | 
			
		||||
 | 
			
		||||
* See [CommandApp](./commandApp) for customizing how Spectre.Console.Cli builds the settings.
 | 
			
		||||
* See [CommandApp](./commandapp) for customizing how Spectre.Console.Cli builds the settings.
 | 
			
		||||
* See [Create Commands](./commands) for information about different command types and their configurations.
 | 
			
		||||
* See [Specifying Settings](./settings) for information about defining the settings.
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user