Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

powershell -file

# This command works like bash magic.sh
   You have to create "magic.ps1" file and put some commands in there like
  # flutter clean
  # flutter pub get
To run it "powershell -File <FileName>"
  
  both commads will run synchronously
  
  first "flutter clean" will run
  then "flutter pub get" will run
  To use the powershell command you have to install extention of 
  the powershell in VScode 
  
  if you dont want to use powershell command you can use 
  bash command
  get into git terminal & run "bash magic.sh"
  this time file extention should be change ".sh"
 
PREVIOUS NEXT
Tagged: #powershell
ADD COMMENT
Topic
Name
8+8 =