Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/evan-buss/dotnet-get
Install .NET tools from Git repositories.
https://github.com/evan-buss/dotnet-get
Last synced: 30 days ago
JSON representation
Install .NET tools from Git repositories.
- Host: GitHub
- URL: https://github.com/evan-buss/dotnet-get
- Owner: evan-buss
- License: mit
- Created: 2021-01-01T20:23:23.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-16T20:37:12.000Z (over 3 years ago)
- Last Synced: 2024-08-31T00:21:42.655Z (2 months ago)
- Language: C#
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# Dotnet Get
> Inspired by Golang's `go get` this will install a dotnet tool by specifying a git repository URL.
# Usage
Requires `git` and `dotnet` to be available in your path.
## Install as a global tool.
`dotnet tool install DotnetGet --global`
## Install tool from repository.
`dotnet-get https://github.com/tool-repo-here`
# Notes
If your github repository has multiple projects. The tool will attempt to find all `Tool` projects by parsing the `*.csproj` file.
You will be prompted to select which tool to install.The tool parses `*.csproj` files and looks for the following content to determine if the project
is a tool.```xml
true
tool-name
./nupkg
```Learn to create dotnet tools using the [official tutorial](https://docs.microsoft.com/en-us/dotnet/core/tools/global-tools-how-to-create).