https://github.com/mbejda/placeholder-cli
A command line tool that replaces images with placeholders.
https://github.com/mbejda/placeholder-cli
command-line command-line-tool nodejs npm oclif placeholder placeholder-image
Last synced: 4 months ago
JSON representation
A command line tool that replaces images with placeholders.
- Host: GitHub
- URL: https://github.com/mbejda/placeholder-cli
- Owner: mbejda
- Created: 2019-09-30T01:28:53.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-04T13:59:39.000Z (over 3 years ago)
- Last Synced: 2025-10-19T17:46:19.737Z (9 months ago)
- Topics: command-line, command-line-tool, nodejs, npm, oclif, placeholder, placeholder-image
- Language: JavaScript
- Homepage: https://medium.com/@milosbejda/just-released-placeholder-cli-dbe55acddde7
- Size: 701 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# :rainbow: Placeholder Cli
[](https://oclif.io)
[](https://npmjs.org/package/placeholder)
[](https://github.com/mbejda/placeholder-cli/blob/master/package.json)
A friendly command line tool that replaces images with placeholders.
Don't have a proper distribution license for those images? No worries,
this tool will replace them with placeholders.
# :movie_camera: How it works
The tool recursively replaces images that match the glob with placeholders that have the same exact
width and height.
# :computer: Usage
Install
```
npm install placeholder-cli -g
```
Run
```
placeholder ./**/*.jpeg
```
or change things up a bit...
```
placeholder ./**/*.jpeg --fontColor "black" --bgColor "white" --fontSize 100
```
You can find me on Twitter :bird:.
Send me a Tweet if you like this or need any help.
[@notmilobejda](https://twitter.com/notmilobejda)
[mbejda.com](https://mbejda.com)
**Don't forget to star it on Github :trophy:**