https://github.com/aimenux/dotnettoolscli
A net global tool to manage all other global tools
https://github.com/aimenux/dotnettoolscli
global-tool net80
Last synced: about 1 month ago
JSON representation
A net global tool to manage all other global tools
- Host: GitHub
- URL: https://github.com/aimenux/dotnettoolscli
- Owner: aimenux
- Created: 2022-06-26T16:30:21.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-10-05T13:49:17.000Z (over 1 year ago)
- Last Synced: 2025-01-10T00:25:14.851Z (over 1 year ago)
- Topics: global-tool, net80
- Language: C#
- Homepage:
- Size: 67.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://github.com/aimenux/DotnetToolsCli/actions/workflows/ci.yml)
[](https://www.nuget.org/packages/DotnetToolsCli/)
# DotnetToolsCli
```
Providing a dotnet cli tool to manage dotnet global tools
```
> In this repo, i m building a cli tool that allows to manage dotnet global tools.
>
> The tool is based on multiple sub commands :
> - Use sub command `List` to list installed global tools
> - Use sub command `Search` to search global tools published on [nuget](https://www.nuget.org/packages?packagetype=dotnettool)
> - Use sub command `Update` to update installed global tools
> - Use sub command `Install` to install global tools
> - Use sub command `Uninstall` to uninstall global tools
>
> To run the tool, type commands :
> - `dotnet-tools -h` to show help
> - `dotnet-tools -s` to show settings
> - `dotnet-tools List` to list installed global tools
> - `dotnet-tools List -p [pattern]` to list installed global tools matching pattern
> - `dotnet-tools Search` to search public global tools
> - `dotnet-tools Search -p [pattern]` to search public global tools matching pattern
> - `dotnet-tools Update` to update installed global tools
> - `dotnet-tools Update -p [pattern]` to update installed global tools matching pattern
> - `dotnet-tools Install [id]` to install global tools
> - `dotnet-tools Install [id] --force` to force install global tools
> - `dotnet-tools Install [id] --version [version]` to install global tools with some version
> - `dotnet-tools Uninstall [id]` to uninstall global tools
>
> To install cli tool from a local source path, type commands :
> - `dotnet tool install -g --configfile .\Nugets\local.config DotnetToolsCli --version "*-*" --ignore-failed-sources`
>
> To install cli tool from [nuget source](https://www.nuget.org/packages/DotnetToolsCli), type this command :
> - For stable version : `dotnet tool install -g DotnetToolsCli --ignore-failed-sources`
> - For prerelease version : `dotnet tool install -g DotnetToolsCli --version "*-*" --ignore-failed-sources`
>
> To uninstall cli tool, type this command :
> - `dotnet tool uninstall -g DotnetToolsCli`
>
>
**`Tools`** : net 9.0, command-line, spectre-console