DotNetDo 0.3.0
dotnet tool install --global DotNetDo --version 0.3.0
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest
dotnet tool install --local DotNetDo --version 0.3.0
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=DotNetDo&version=0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
nuke :add-package DotNetDo --version 0.3.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DotNetDo
DotNetDo turns small C# files into repository automation scripts. It is both a global tool and a library, so scripts run with dotnet do and use typed helpers for processes, paths, Git, .NET, configuration, secrets, logging, and CI providers.
Install
Note that DotNetDo requires .NET 10.
dotnet tool install --global DotNetDo
dnx DotNetDo build
Use
dotnet do :new build
dotnet do
dotnet do build
:init creates workspace-local do.cmd and do launchers. Use .\do from PowerShell or ./do from a Unix shell.
A script is an ordinary .NET file-based app:
#!/usr/bin/env dotnet
#:package DotNetDo.Core@0.1.0
using DotNetDo;
await Tools.DotNet.Build;
Use dotnet do :help for runner commands or dotnet do :help <name> for a script's declared parameters.
Licensed under the MIT License.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.