Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sina-byn/eraser-cli
https://github.com/sina-byn/eraser-cli
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/sina-byn/eraser-cli
- Owner: sina-byn
- Created: 2023-07-28T19:35:33.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-29T09:41:45.000Z (over 1 year ago)
- Last Synced: 2023-07-29T10:32:02.134Z (over 1 year ago)
- Language: JavaScript
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DEPRECATED - eraser-cli [![NPM version](https://img.shields.io/npm/v/eraser-cli.svg?style=flat)](https://www.npmjs.com/package/eraser-cli) [![NPM monthly downloads](https://img.shields.io/npm/dm/eraser-cli.svg?style=flat)](https://npmjs.org/package/eraser-cli) [![NPM total downloads](https://img.shields.io/npm/dt/eraser-cli.svg?style=flat)](https://npmjs.org/package/eraser-cli)
> the cli tool for the [comment-eraser](https://www.npmjs.com/package/comment-eraser) package - easily integrate the comment-eraser into your build process or install it globally and use it wherever you want
Please consider following this project's author, [Sina Bayandorian](https://github.com/sina-byn), and consider starring the project to show your :heart: and support.
## Install
```sh
$ npm install -g eraser-cli
```## Usage
```sh
// falls back to the default config
$ eraser-cli
```## Options
`-c | --config`: **String -** optional **-** path to the configuration file
* default is `'eraser.config.json'`## API
the api behind this cli tool is the [comment-eraser](https://www.npmjs.com/package/comment-eraser) package
* this cli tool utilizes the [erase](https://www.npmjs.com/package/comment-eraser#erase) function from the given package
* the configuration file is the same as the comment-eraser [configuration](https://www.npmjs.com/package/comment-eraser#configuration) file