1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-07 16:00:41 +01:00

Feature/add dotnet plugin (#8503)

* Added dotnet CLI aliases and completions

* Modified README
This commit is contained in:
Shaun Tabone
2019-12-29 05:54:58 +01:00
committed by Robby Russell
parent 8ed19ab54d
commit d5f8fac465
2 changed files with 138 additions and 0 deletions

21
plugins/dotnet/README.md Normal file
View File

@@ -0,0 +1,21 @@
# .NET Core CLI plugin
This plugin provides completion and useful aliases for [.NET Core CLI](https://dotnet.microsoft.com/).
To use it, add `dotnet` to the plugins array in your zshrc file.
```
plugins=(... dotnet)
```
## Aliases
| Alias | Command | Description |
|-------|--------------|-------------------------------------------------------------------|
| dn | dotnet new | Create a new .NET project or file. |
| dr | dotnet run | Build and run a .NET project output. |
| dt | dotnet test | Run unit tests using the test runner specified in a .NET project. |
| ds | dotnet sln | Modify Visual Studio solution files. |
| da | dotnet add | Add a package or reference to a .NET project. |
| dp | dotnet pack | Create a NuGet package. |
| dng | dotnet nuget | Provides additional NuGet commands. |