Skip to content

A command-line tool which simplifies the task of replacing files

Notifications You must be signed in to change notification settings

RANUX/replace_files

Repository files navigation

Replace files from src to dst dir recursively

📖 Guide

Create a new config file with yaml format.

replace_files:
  src: "example/src/"
  dest: "example/dst/"

Run replace_files from command line.

$ dart bin/main.dart -f example/sample_conf.yaml

Run in flutter project

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

How to build exe file

mkdir build
dart compile exe bin/main.dart -o build/replace_files

About

A command-line tool which simplifies the task of replacing files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages