dotnet / dotnet/sdk

Allow dotnet-something to be more than executable files

Open
#44,009 1 comment 1 reaction 0 assignees View on GitHub
Area-CLI
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Is your feature request related to a problem? Please describe.
I want to define a `dotnet verify` command that does nothing more than run `dotnet build /p:TreatWarningsAsErrors=true`.

`git` has supports for aliases and it can generally run whatever is called git-something and it's in the path.

### Describe the solution you'd like
It would be cool if we could create dotnet scripts and invoke them as `dotnet something`. the SDK supports EXE files for tools, if it also supported powershell/bash/batch/cmd scripts, it would be super cool.

It would be even better if these scripts could be specified/described as part of the tools manifest or global json, so far I can add it to the repo to share it with my team.

### Additional context
This is probably two issues in one:
- support for invoking non-EXE commands via dotnet-something convention
- support for shareable scripts

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.