Skip to content

Change a variable or object in specific file types or even remove it all at once interactively

Notifications You must be signed in to change notification settings

Eric-Jalal/inplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Find & Replace CLI Tool v1.0.0

Introducing the Find & Replace CLI Tool which actually works easily. Working with find sometimes for easy tasks is overkill :). I made this tool to make my-life easier. Specially when I need to change some text in multiple files in a repo without opening extra editors and such. This utility allows users to search for a specific text string within files of specified formats in the current directory and its subdirectories. Upon finding occurrences, the tool provides an interactive prompt for the user to confirm if they wish to proceed to replace the found text with another string.

Key Features:

  • Supports multiple file formats.
  • Interactive mode for a guided text replacement process.
  • Command-line flags for streamlined text replacement.
  • Provides a summary report of files checked, files affected, and the paths to affected files.
  • Enhanced error handling for a robust user experience.

Usage:

  • Interactive Mode: repelit -i
  • Direct Mode: repelit -f txt,yml

Installation via Homebrew:

brew tap eric-jalal/eric-tools-repelit.git
brew install repelit

About

Change a variable or object in specific file types or even remove it all at once interactively

Resources

Stars

Watchers

Forks

Packages

No packages published