replace_string_in_file 0.0.2 copy "replace_string_in_file: ^0.0.2" to clipboard
replace_string_in_file: ^0.0.2 copied to clipboard

Dart 1 only

Transformer that will replace string in file.

Transformer that will replace string in file.

Usage #

Simply add the following lines to your pubspec.yaml:

:::yaml
dependencies:
  replace_string_in_file: any
transformers:
  - replace_string_in_file

Configuration #

You can specify patterns:

:::yaml
transformers:
  - replace_string_in_file:
      pattern: 
      - /path/to/file_1;;old_string;;new_string;;old_string_n;;new_string_n
      - /path/to/file_n;;old_string;;new_string;;old_string_n;;new_string_n
0
likes
15
points
0
downloads

Publisher

unverified uploader

Weekly Downloads

Transformer that will replace string in file.

Homepage

License

MIT (license)

Dependencies

barback

More

Packages that depend on replace_string_in_file