Skip to content

Commit

Permalink
Improve readme
Browse files Browse the repository at this point in the history
  • Loading branch information
JKamsker committed Mar 14, 2024
1 parent a9bd325 commit 1f2ea93
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,11 @@ It comes with suggestions for Options and Branches out of the box, but you can a
The extension can be enabled using the `AddAutoCompletion` method on the `Configurator` object.

```csharp
using JKToolKit.Spectre.AutoCompletion.Completion;
using JKToolKit.Spectre.AutoCompletion.Integrations;

//...
public static void Main(string[] args)
{
var app = new CommandApp();
Expand All @@ -58,6 +63,8 @@ public static void Main(string[] args)
}
```

Hint: If you are using a custom `ITypeRegistrar` or `ITypeResolver`, make sure, that the `ITypeResolver` resolves itself correctly. Or use the [JKToolKit.Spectre.Console.Extensions.Hosting-ng](https://github.com/JKamsker/Spectre.Console.Extensions.Hosting-ng) package

## Shell integrations
1. [PowerShell](#powershell)
3. More to come...
Expand Down

0 comments on commit 1f2ea93

Please sign in to comment.