Saturday, August 15, 2020

Create Angular with authentication project on macOS

#!/bin/zsh

if [ $# -eq 0 ] ; then
	echo "Pass the name of project"
	exit 1
fi

NAME="$1"

mkdir $NAME
cd $NAME
dotnet new sln --name $NAME
dotnet new angular -o $NAME -au Individual
dotnet sln $NAME.sln add $NAME/$NAME.csproj
open $NAME.sln

No comments:

Post a Comment