Skip to content

louisgcom/wp-cli-replacetext

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WP Cli

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


About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published