Contribue to Magento CLI
Guidelines for contributing to the Magento CLI projects
Contributing to Magento CLI
We love pull requests!
Fork, then clone the repo:
git clone git@github.com:your-username/magento-cli.git
Set up your machine:
cd magento-cli
make build
Make sure the existing tests pass:
make test
While creating new commands, don’t forget to create a _test.go
file.
Make your changes, Add tests for your change, Make the tests pass:
make test
Make your change. Add tests for your change. Make the tests pass:
make test
Push to your fork and submit a pull request.
At this point you’re waiting on us. We like to at least comment on pull requests within three business days (and, typically, one business day). We may suggest some changes or improvements or alternatives.
Some things that will increase the chance that your pull request is accepted:
- Write tests.
- Write a good commit message.
Last modified June 18, 2022: converting to blueacorn org (481af90)