placeholder-craft-cli
Version:
a cli tool to generate placeholder images
28 lines (23 loc) • 1.21 kB
Markdown
# placeholder-craft-cli
[](https://www.npmjs.com/package/placeholder-craft-cli)
[](https://github.com/macaroni10y/placeholder-craft-cli/blob/main/LICENSE)
[](https://github.com/macaroni10y)
A simple CLI tool to generate placeholder images for your projects.
## example

## Installation
You can install the package globally by running the following command.
```shell
npm install -g placeholder-craft-cli
```
## Usage
You can run the following command to generate a placeholder image.
```shell
phcraft --width 500 --height 500 --filename hoge.png
```
### Options
- `--width` (required): The width of the image.
- `--height` (required): The height of the image.
- `--filename` : The filename of the image. (default: `placeholder.png`)
- `--bgColor` : The background color of the image. (default: `grey`)
- `--textColor` : The text color of the image. (default: `white`)