First off, thanks for taking the time to contribute! Whether you're fixing a bug, suggesting a feature, improving the docs, or writing tests, your help is appreciated.
Click the "Fork" button at the top right of the GitHub repo, then clone your fork:
git clone https://github.com/YOUR-USERNAME/blog-tools.git
cd blog-toolsWe use Ruby. Make sure you have a recent version installed via rbenv, rvm, or system Ruby (we recommend rbenv).
bundle installTo run the CLI locally:
bin/blog-toolsName your branch based on what you're doing:
git checkout -b fix-missing-command- Follow the existing coding style (run
rubocopto check). - Add or update tests where applicable.
- Keep commits focused and clear.
Make sure all tests pass before submitting:
rake checkPush your branch to your fork and open a pull request against main. Include:
- A short, descriptive title
- A summary of what and why
- A mention of any related issues (e.g., Closes #12)
Open an issue to start a discussion! We're happy to help and open to feedback.
- Stick to idiomatic Ruby
- Use 2-space indentation
- Follow existing naming patterns
- Lint with
rubocopbefore committing
By contributing, you agree that your contributions will be licensed under the same license as the project: MIT.