Batch files for Angular Component creation @echo off echo "Welcome to Angular Lip App" REM Changing Path cd\xampp\htdocs\ cd REM Checking Version echo "///////////////////////////////////////////////////////////////////////////" echo "Your NPM version" call npm -v echo "Your CLI version" call ng -v REM Get Project name from User echo "///////////////////////////////////////////////////////////////////////////" :GETLIPNAME set /p inputone=Enter Lib Name it will become(*-ra-lib-app): set temp1=-ra-lib-app set temp2=-ra-lib set projectName=%inputone%%temp1% set libname= %inputone%%temp2% IF EXIST %projectName% ( echo "Folder Already exists plz enter new one......" GOTO GETLIPNAME ...
Comments
Post a Comment