https://github.com/sina-byn/eraser-cli
the cli tool for the comment-eraser package - easily integrate the comment-eraser into your build process or install it globally and use it wherever you want
https://github.com/sina-byn/eraser-cli
cli code-cleanup comment-eraser comment-remover javascript nodejs npm-package
Last synced: 6 months ago
JSON representation
the cli tool for the comment-eraser package - easily integrate the comment-eraser into your build process or install it globally and use it wherever you want
- Host: GitHub
- URL: https://github.com/sina-byn/eraser-cli
- Owner: sina-byn
- License: mit
- Created: 2023-07-28T19:35:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-23T14:34:27.000Z (over 1 year ago)
- Last Synced: 2025-02-15T04:26:51.195Z (8 months ago)
- Topics: cli, code-cleanup, comment-eraser, comment-remover, javascript, nodejs, npm-package
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DEPRECATED - eraser-cli [](https://www.npmjs.com/package/eraser-cli) [](https://npmjs.org/package/eraser-cli) [](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