1.1.4 • Published 10 months ago

smart-commenter v1.1.4

Weekly downloads
-
License
MIT
Repository
-
Last release
10 months ago

Smart Commenter

npm license

Smart Commenter is a CLI tool that automatically generates comments for your code files based on their language. It uses OpenAI to analyze code and produce comments, helping to explain the code, its structure, and its logic. You can then decide whether to overwrite your original file with the newly commented version.

Features

  • Supports multiple languages (JavaScript, Python, Java)
  • Automatically detects the language based on file extension
  • Option to control verbosity of the generated comments (low, medium, high)
  • Prompts the user before overwriting the original file

Installation

npm install smart-commenter

usage

npx smart-commenter comment ./test.js --verbosity low 

Contributing

We welcome contributions! If you'd like to contribute to smart-commenter, follow these steps:

  1. Fork the repository at https://github.com/sgr-0007/smart-commenter.
  2. Create a new branch (git checkout -b feature/your-feature).
  3. Make your changes and commit them (git commit -am 'Add your feature').
  4. Push the branch to your fork (git push origin feature/your-feature).
  5. Create a Pull Request.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Support

If you encounter any issues or have questions, feel free to open an issue in the GitHub repository or contact us via email.

1.1.4

10 months ago

1.1.3

10 months ago

1.1.2

10 months ago

1.1.1

10 months ago

1.1.0

10 months ago

1.0.0

10 months ago