1.0.2 • Published 6 months ago

readme-buddy v1.0.2

Weekly downloads
-
License
ISC
Repository
github
Last release
6 months ago

README Generator CLI

A simple and powerful CLI tool that helps developers quickly generate a structured README.md file for their projects. This package prompts you for essential information and automatically creates a README file, saving you time on project documentation.

Features

  • Automated README Creation: Quickly generate a well-structured README.md file with essential sections like Project Title, Description, Installation Instructions, Usage, License, Contributing, Tests, and more.

  • Customizable: The tool allows you to customize the generated README content through a series of prompts.

  • Easy to Use: Simple command-line interface that takes only a few seconds to generate a complete README file.

Installation

Global Installation To install the package globally on your system, run:

npm install -g readme-buddy

Local Installation

To install the package locally within a project, use:

npm install --save-dev readme-buddy

Usage

Once installed, you can use the package from the command line to generate a README file for your project.

Generate a README

To generate a README.md file, run:

readme-buddy gn

This command will prompt you with a series of questions to gather information about your project. After answering the questions, a README.md file will be created in the current directory.

Customizing the README

You can customize the content of the README by answering the following questions during the prompt:

Project Title: Readme Buddy

Description: A simple CLI tool that generates professional README.md files interactively for your projects. 🚀

Installation Instructions: npm install -g readme-buddy

Usage Instructions: readme-gn

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

Contributing

We welcome contributions to this project! By following these guidelines, you’ll help us maintain a smooth process for accepting and reviewing contributions.

How to Contribute -

Fork the repository: Start by forking the repository to your own GitHub account.

Clone the repository: Clone your forked repository to your local machine.

git clone https://github.com/<your-username>/<your-repository>.git

Create a new branch: Before making changes, create a new branch for your work.

git checkout -b feature/your-feature-name

Make your changes: Implement your feature or fix a bug. Be sure to follow the existing code style and practices used in the project.

Write tests: If applicable, write tests to cover your changes. This ensures that your contribution works as expected and does not break existing functionality.

Commit your changes: After making your changes, commit them with a clear and concise commit message that describes the purpose of the change.

git commit -m "Add feature: brief description of the feature"

Push your changes: Push your changes to your forked repository.

git push origin feature/your-feature-name

Create a pull request: Go to the original repository and create a pull request (PR) from your forked repository. Provide a clear description of what your PR does and why it should be merged.

Pull Request (PR) Guidelines

Describe your changes: In the PR description, explain what you have done and why. If it fixes a bug, reference the issue number (e.g., Fixes #42). Follow the code style: Ensure that your code follows the coding style and conventions used in the project.

Test your changes: Before submitting the PR, make sure that your changes work as expected and that all tests pass.

Code of Conduct We expect everyone to follow our Code of Conduct to ensure a positive and respectful environment for all contributors.

Reporting Issues

If you find a bug or have a feature request, please open an issue on GitHub. Provide as much detail as possible, including steps to reproduce, expected behavior, and actual behavior.

Test Instructions

To run tests for this project, follow these steps:

Prerequisites

Node.js and npm should be installed. Check with:

node -v
npm -v

Running Tests

Install dependencies:

npm install

Run the tests:

npm test

Writing Tests

Test files should be named with a .test.js suffix (e.g., example.test.js). Ensure tests cover new features or bug fixes.

Continuous Integration

Tests are automatically run on pull requests via CI tools (e.g., GitHub Actions).

Example

After running the command, the generated README.md might look like this:

# My Awesome Project

## Description
This project automates the process of generating README files.

## Installation
```bash
npm install my-awesome-project```

Usage

my-awesome-project gn

License

This project is licensed under the MIT License.

Contributing

Feel free to fork the repository and submit pull requests.

Tests

npm test

Questions

For any questions, reach out via:

GitHub: gautamaggarwaldev Email: gautam.aggarwal.tech@gmail.com

## Contributing

If you'd like to contribute to this project, please fork the repository, create a new branch, and submit a pull request. Make sure to follow the contributing guidelines.

## License

This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.

---

Replace `<your-package-name>` with the actual name of your npm package, and feel free to adjust the sections to fit the specifics of your project.
1.0.2

6 months ago

1.0.1

6 months ago

1.0.0

6 months ago