Thank you for your interest in contributing to Rootly CLI! This document provides guidelines and instructions for contributing.
- Fork the repository
- Clone your fork:
git clone https://github.com/YOUR-USERNAME/rootly-cli.git - Create a new branch:
git checkout -b feature/your-feature-name - Install dependencies:
npm install
npm run buildnpm run devnpm run lint- Use TypeScript for all new code
- Follow the existing code structure and patterns
- Use meaningful variable and function names
- Add comments for complex logic
- Keep functions focused and small
Commands follow this pattern:
rootly <resource> <action> [options]- All commands support
--formatflag (json or table) - Use commander.js for CLI structure
- Use @wyre-technology/node-rootly for API calls
- Update the README.md with details of changes if applicable
- Update the CHANGELOG.md following Keep a Changelog format
- Ensure your code builds without errors
- Create a pull request with a clear description of changes
- Use clear, descriptive commit messages
- Start with a verb in present tense (e.g., "Add", "Fix", "Update")
- Reference issue numbers when applicable
Open an issue for any questions or concerns.
By contributing, you agree that your contributions will be licensed under the MIT License.