An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          



# :rainbow: Placeholder Cli

[![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io)
[![Version](https://img.shields.io/npm/v/placeholder.svg)](https://npmjs.org/package/placeholder)
[![License](https://img.shields.io/npm/l/placeholder.svg)](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:**