https://github.com/manage-console/manage-console-cli
๐งนA powerful CLI tool to manage console.log statements in your JavaScript/TypeScript projects.
https://github.com/manage-console/manage-console-cli
clean-code comment-system console-log npm npm-package
Last synced: 3 months ago
JSON representation
๐งนA powerful CLI tool to manage console.log statements in your JavaScript/TypeScript projects.
- Host: GitHub
- URL: https://github.com/manage-console/manage-console-cli
- Owner: manage-console
- License: other
- Created: 2024-10-04T19:09:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-07T18:47:50.000Z (over 1 year ago)
- Last Synced: 2025-02-28T07:02:50.798Z (11 months ago)
- Topics: clean-code, comment-system, console-log, npm, npm-package
- Language: TypeScript
- Homepage: https://www.npmjs.com/package/manage-console-cli
- Size: 52.7 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Console Manager CLI
๐งนA powerful CLI tool to manage console.log statements in your JavaScript/TypeScript projects.
[](https://www.npmjs.com/package/manage-console-cli)
[](https://opensource.org/licenses/MIT)
## ๐ Features
- Remove console.log statements from your code
- Comment out console.log statements
- Process individual files or entire projects
- Exclude specific files or directories
## ๐ฆ Installation
Install the package globally using npm:
```bash
npm install -g manage-console-cli
```
Install the package as a dev dependency in your project:
```bash
npm install manage-console-cli --save-dev
```
## ๐ ๏ธ Usage
### Remove console.log statements
To remove console.log statements from a specific file:
```bash
console-manager remove --file path/to/your/file.js
```
To remove console.log statements from all files in the current directory and its subdirectories:
```bash
console-manager comment --all
```
## โ๏ธ Configuration
By default, the tool processes .js, .ts, .jsx, and .tsx files. It excludes the following directories:
- node_modules
- dist
- build
- .git
And the following files:
- config.js
- config.json
- package.json
- package-lock.json
## ๐งฉ VS Code Extension
If you prefer a visual interface, you can use our VS Code extension that provides the same functionality:
[CLG Manager for VS Code](https://marketplace.visualstudio.com/items?itemName=ConsoleManager.clg-manger)
This extension allows you to manage console.log statements directly from your VS Code editor.
## ๐ค Contributing
Contributions, issues, and feature requests are welcome! Feel free to check [issues page](https://github.com/manage-console/manage-console-cli/issues).
## ๐ License
This project is [MIT](https://opensource.org/licenses/MIT) licensed.
## ๐จโ๐ป Author
**Mohamed Nabih**
- Github: [@muhammad-nabih](https://github.com/muhammad-nabih)
## ๐ Show your support
Give a โญ๏ธ if this project helped you!
---