function ul_flutter_ui set cabang $argv[1] echo upload to $cabang cd build/web rsync -avzr --progress *.js one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/ rsync -avzr --progress *.html one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/ rsync -avzr --progress assets one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/ rsync -avzr --progress canvaskit one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/ rsync -avzr --progress icons one@$cabang:/home/one/project/one/one-ui-flutter/md-mitra/ cd ../.. end function ul_api_to set cabang $argv[2] set target (string replace php-api/ "" $argv[1]) echo upload to $cabang cd php-api rsync -avzr --progress $target one@devone.aplikasi.web.id:/home/one/project/one/one-api/application/controllers/$target cd .. end