gcommeuneidee/wp-cli-replacetext

Simple Library Which Provides Option To Replace Text

dev-main 2023-06-20 10:25 UTC

This package is not auto-updated.

Last update: 2024-06-12 20:28:24 UTC


README

This CLI Package Provides WP Developers To Replace Text Easily

Installation

The preferred way to install this extension is through Composer.

To install WP-Cli library, simply:

$ composer require gcommeuneidee/wp-cli-replacetext

Replace Text Usage

Replace text for all files inside a folder

$ ./vendor/bin/replacetext.bat -i text-to-search text-to-replace your-folder-path

Update text for a file

$ ./vendor/bin/replacetext.bat -i text-to-search text-to-replace ./your-path/your-file.php

CLI Arguments

Argument Description
-i if provided then changes will be saved in the same file where its updated if not it will provide the file output

📝 Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Checkout CHANGELOG.md

🤝 Contributing

If you would like to help, please take a look at the list of issues.

📜 License & Conduct

📣 Feedback

  • ⭐ This repository if this project helped you! 😉
  • Create An 🔧 Issue if you need help / found a bug

Built With ♥ By Louis Vedel from 68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f656e2f7468756d622f632f63332f466c61675f6f665f4672616e63652e7376672f32353070782d466c61675f6f665f4672616e63652e7376672e706e67