replace_files:
src: "example/src/"
dest: "example/dst/"
$ dart bin/main.dart -f example/sample_conf.yaml
Add replace_files to pubspec.yaml:
dev_dependencies:
flutter_test:
sdk: flutter
...
replace_files:
git:
url: https://github.com/RANUX/replace_files.git
ref: main
Run command:
flutter pub get
flutter pub run replace_files:main -f example/sample_conf.yaml
mkdir build
dart compile exe bin/main.dart -o build/replace_files