#!usr/bin/env bash export DOTNET_CLI_HOME=$PWD export HOME=$PWD rename 's/$/\.cs/' "$@" dotnet build --help > /dev/null dotnet new console -o . --no-restore rm Program.cs dotnet restore --source $DOTNET_ROOT/.nuget/packages dotnet build --no-restore