replace 1.2.0 copy "replace: ^1.2.0" to clipboard
replace: ^1.2.0 copied to clipboard

An easy to use cross-platform regex replace command line util.

1.2.0 - 2026-04-13 #

Added #

  • Added pm remove to remove one or more packages from dependencies and dev_dependencies.
  • Added global pm --version / pm -v output using generated package metadata.
  • Added pubspec code generation with pubspec_generator and build_runner.

Updated #

  • Updated CI to run dart run build_runner build --delete-conflicting-outputs and fail when generated files are out of date.
  • Updated pm tests and fixtures for multi-package remove behavior across single-line, hosted, and git dependency declarations.
  • Updated README documentation for pm remove and version flag usage.

1.1.0 - 2026-03-20 #

Added #

  • Added the new pm CLI for editing pubspec dependency and SDK constraints.
  • Added the tighten command to raise dependency minimums to lockfile-resolved versions.
  • Added the --[no-]tighten option (enabled by default) for range-tightening behavior.

Updated #

  • Updated tests and naming around the new pm functionality.
  • Updated CI usage and formatting-related maintenance.

1.0.4 - 2022-05-11 #

  • bug fix

1.0.3 - 2022-05-11 #

  • bug fix

1.0.2 - 2022-05-04 #

Updated #

  • support multiple filenames
  • support ALL files under a directory easily
  • better examples in the readme
  • replacement errors doesn't end the whole program
  • ignore dotfiles

1.0.1 - 2021-10-13 #

Updated #

  • Updated readme

1.0.0 - 2021-10-13 #

Added #

  • Initial Version
4
likes
140
points
948
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

An easy to use cross-platform regex replace command line util.

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

args, cli_script, file, glob, pub_semver, pubspec_manager, yaml

More

Packages that depend on replace