All Projects β†’ sindresorhus β†’ Replace In Files Cli

sindresorhus / Replace In Files Cli

Licence: mit
Replace matching strings and regexes in files

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Replace In Files Cli

Speed Test
Test your internet connection speed and ping using speedtest.net from the CLI
Stars: ✭ 3,654 (+2732.56%)
Mutual labels:  command-line-tool, cli-app, npm-package
Forge Node App
πŸ› πŸ“¦πŸŽ‰ Generate Node.js boilerplate with optional libraries & tools
Stars: ✭ 90 (-30.23%)
Mutual labels:  command-line-tool, cli-app, npm-package
Fast Cli
Test your download and upload speed using fast.com
Stars: ✭ 2,178 (+1588.37%)
Mutual labels:  command-line-tool, cli-app, npm-package
Initior
A command line application that let's you initialize your new projects the right way, replaces npm and yarn's init πŸŽ†
Stars: ✭ 17 (-86.82%)
Mutual labels:  command-line-tool, cli-app
Ttyplot
a realtime plotting utility for terminal/console with data input from stdin
Stars: ✭ 532 (+312.4%)
Mutual labels:  command-line-tool, cli-app
Capture Website Cli
Capture screenshots of websites from the command-line
Stars: ✭ 545 (+322.48%)
Mutual labels:  cli-app, npm-package
Slugify Cli
Slugify a string
Stars: ✭ 49 (-62.02%)
Mutual labels:  cli-app, npm-package
Github Spray
Draw on your GitHub contribution graph β–‘β–’β–“β–ˆ
Stars: ✭ 908 (+603.88%)
Mutual labels:  cli-app, npm-package
Pyinquirer
A Python module for common interactive command line user interfaces
Stars: ✭ 1,151 (+792.25%)
Mutual labels:  command-line-tool, cli-app
Github Files Fetcher
Download a specific folder or file from a GitHub repo through command line
Stars: ✭ 73 (-43.41%)
Mutual labels:  command-line-tool, npm-package
Delay Cli
Delay execution for a given amount of seconds
Stars: ✭ 74 (-42.64%)
Mutual labels:  cli-app, npm-package
Sindresorhus Cli
The Sindre Sorhus CLI
Stars: ✭ 436 (+237.98%)
Mutual labels:  cli-app, npm-package
Mongo Seeding
The ultimate solution for populating your MongoDB database.
Stars: ✭ 375 (+190.7%)
Mutual labels:  command-line-tool, cli-app
Np
A better `npm publish`
Stars: ✭ 6,401 (+4862.02%)
Mutual labels:  cli-app, npm-package
Conduct
πŸ–– Generate a Code of Conduct for your project
Stars: ✭ 360 (+179.07%)
Mutual labels:  cli-app, npm-package
Catchart
Pipe something from command line to a chart in the browser
Stars: ✭ 27 (-79.07%)
Mutual labels:  command-line-tool, npm-package
Wait For Localhost Cli
Wait for localhost to be ready from the command-line
Stars: ✭ 101 (-21.71%)
Mutual labels:  cli-app, npm-package
jira-cli
πŸ”₯ [WIP] Feature-rich interactive Jira command line.
Stars: ✭ 809 (+527.13%)
Mutual labels:  cli-app, command-line-tool
doing-cli
CLI tool to simplify the development workflow on azure devops
Stars: ✭ 19 (-85.27%)
Mutual labels:  cli-app, command-line-tool
Term Img Cli
Display images in iTerm
Stars: ✭ 70 (-45.74%)
Mutual labels:  cli-app, npm-package

replace-in-files-cli

Replace matching strings and regexes in files

Install

$ npm install --global replace-in-files-cli

Usage

$ replace-in-files --help

  Usage
    $ replace-in-files <files…>

  Options
    --regex           Regex pattern to find  (Can be set multiple times)
    --string          String to find  (Can be set multiple times)
    --replacement     Replacement string  (Required)
    --ignore-case     Search case-insensitively
    --no-glob         Disable globbing

  Examples
    $ replace-in-files --string='horse' --regex='unicorn|rainbow' --replacement='πŸ¦„' foo.md
    $ replace-in-files --regex='v\d+\.\d+\.\d+' --replacement=v$npm_package_version foo.css
    $ replace-in-files --string='blob' --replacement='blog' 'some/**/[gb]lob/*' '!some/glob/foo'

  You can use the same replacement patterns as with `String#replace()`, like `$&`.

Real-world use-case: Bumping version number in a file when publishing to npm

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].